[xep-support] how to use -Xmx switch? -- or some other fix?
Michael Sulyaev
msulyaev at renderx.com
Thu Jun 9 10:12:00 PDT 2005
Hello, Jim.
Did you mean "-Xmx1024M"?
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).
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 ....
--
Best regards,
Michael Sulyaev mailto:msulyaev at renderx.com
RenderX
Thursday, June 9, 2005 at 8:40:03 PM you wrote:
JM> Susan,
JM> I, too, have 1GB of "real" memory, and I use -X1024M as my version of the
JM> switch. I have about 2.5GB of virtual memory (paging file). 80% of 1GB
JM> is, very roughly speaking, 800MB (it's actually a bit more, 819.2, because
JM> memory is counted in 1K=1024 units, but you get the idea).
JM> Hope this helps,
JM> Jim
JM> At 6/9/2005 09:56 AM, CRW150 at yahoo.com wrote:
>>Hi,
>>
>>I'm getting an OutOfMemory error running XEP. If I run the same
>>stylesheet on an identical but smaller source file, it works fine.
>>After reading the archives, I think I need to use the -Xmx switch, but
>>I have no idea how. I'm no programmer, obviously, so I need to know
>>what is the exact syntax to use at the command prompt? I'm running
>>WinXP, and I have 1GB of memory.
>>
>>Also, if this helps identify the problem, note that I can use Saxon
>>6.5.3 to run the same stylesheet on the whole, large file, and Saxon
>>creates the .fo file without any errors.
>>
>>Sorry for the dumb question, but I don't know enough to understand the
>>XEP documentation. (I don't even know what 80% of 1 GB is!)
JM> ========================================================================
JM> Jim Melton --- Editor of ISO/IEC 9075-* (SQL) Phone: +1.801.942.0144
JM> Co-Chair, W3C XML Query WG; F&O (etc.) editor Fax : +1.801.942.3345
JM> Oracle Corporation Oracle Email: jim dot melton at oracle dot com
JM> 1930 Viscounti Drive Standards email: jim dot melton at acm dot org
JM> Sandy, UT 84093-1063 USA Personal email: jim at melton dot name
JM> ========================================================================
JM> = Facts are facts. But any opinions expressed are the opinions =
JM> = only of myself and may or may not reflect the opinions of anybody =
JM> = else with whom I may or may not have discussed the issues at hand. =
JM> ========================================================================
JM> -------------------
JM> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
JM> in the body of the message to majordomo at renderx.com from the address
JM> you are subscribed from.
JM> (*) By using the Service, you expressly agree to these Terms
JM> of Service http://www.renderx.com/terms-of-service.html
-------------------
(*) 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