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

From: Greg Baryza <baryza@intersystems.com>
Date: Thu Jun 09 2005 - 10:13:45 PDT

Susan:

The -Xmx800M is a parameter that is intended for the java virtual
machine. The convention is that these parameters appear on the command
line before the name of the class or JAR file you want to run, for example,

java -Xms400M -Xmx800M com.renderx.xep.XSLDriver -DCONFIG=isc_xep.xml
-quiet ...

Once the classname is found, "com.renderx.xep.XSLDriver", everything after
it is assumed to be an argument to the class.

<G>

At 06/09/2005 10:40, you wrote:
>Susan,
>
>I, too, have 1GB of "real" memory, and I use -X1024M as my version of the
>switch. I have about 2.5GB of virtual memory (paging file). 80% of 1GB
>is, very roughly speaking, 800MB (it's actually a bit more, 819.2, because
>memory is counted in 1K=1024 units, but you get the idea).
>
>Hope this helps,
> Jim
>
>At 6/9/2005 09:56 AM, CRW150@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!)
>
>========================================================================
>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@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

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@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
Received on Thu Jun 9 10:36:47 2005

This archive was generated by hypermail 2.1.8 : Thu Jun 09 2005 - 10:36:48 PDT