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

From: Jim Melton <>
Date: Thu Jun 09 2005 - 11:46:36 PDT


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

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!

>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 from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Thu Jun 9 12:25:26 2005

This archive was generated by hypermail 2.1.8 : Thu Jun 09 2005 - 12:25:26 PDT