[xep-support] how to use -Xmx switch? -- or some other fix?

Jim Melton jim.melton at acm.org
Thu Jun 9 11:46:36 PDT 2005


Michael,

At 6/9/2005 11:12 AM, Michael Sulyaev wrote:
>Hello, Jim.
>
>Did you mean "-Xmx1024M"?

Ouch...of course I meant "-Xmx1024M".  Sigh...


>I would not recommend to set -Xmx to a value equal to "real" memory
>size considering significant performance downgrade caused by system
>swapping (let alone dynamic swapfile enlargement, which is extremely
>slow).

Yes, that's true.  Unfortunately, in order to compile my largest document, 
even 512 was not enough.  Because I actually render fairly infrequently 
(several times a week at most), the performance degradation doesn't affect 
me all that much.  I should have observed to Susan that my situation might 
be different from hers and that she should try 256 or 512.

Thanks for letting me clarify!
    Jim


>If WinXP occupies roughly 256Mb itself, try -Xmx512M first (on 1Gb RAM), and
>increase -Xmx only if formatting keeps failing with OOM Exception.
>
>Susan, -Xmx option should be added to xep.bat (or x4u.bat, if you call
>it): ...\java" -Xmx128M -classpath "%CP%" com.renderx.xep.XSLDriver ....

========================================================================
Jim Melton --- Editor of ISO/IEC 9075-* (SQL)     Phone: +1.801.942.0144
   Co-Chair, W3C XML Query WG; F&O (etc.) editor    Fax : +1.801.942.3345
Oracle Corporation        Oracle Email: jim dot melton at oracle dot com
1930 Viscounti Drive      Standards email: jim dot melton at acm dot org
Sandy, UT 84093-1063 USA          Personal email: jim at melton dot name
========================================================================
=  Facts are facts.   But any opinions expressed are the opinions      =
=  only of myself and may or may not reflect the opinions of anybody   =
=  else with whom I may or may not have discussed the issues at hand.  =
======================================================================== 


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list