[xep-support] Out of memory error?
sylvisaker at CHYconsultants.com
Mon May 1 10:04:38 PDT 2006
Thanks Chris - I figured it was something like that. I guess I need to
figure out how to run from the command line. I have tried using the .bat
file that is provided with the tool. I am running the following as a
.bat file without success:
c:\xslt\xep.bat -fo c:\xslt\fo\out20.fo -out c:\xslt\fo\renderout.ps -ps
I couldn't find any examples in the documentation - web site or
reference manual - that were complete and explained exactly what to
specify. I'm not much of a command line persona any more. So... If you
have an example that you would be willing to share I sure would
appreciate it. I am giving the formatter an XSL-FO file and I want the
output in PostScript format. It would be great if you could show me
where to put the -Xmx parameter. My machine has 512 mg of ram.
When I run the bat file there are error messages that flash in the
window for a fraction of a second but I can't read them. Is there a way
to send the diagnostic output to a file instead of to the screen?
Thanks in advance - Steve
Chris Ridd wrote:
>On 1/5/06 4:45, Steve Ylvisaker <sylvisaker at CHYconsultants.com> wrote:
>>I'm not sure where to look to diagnose this problem. I have been working
>>with a style sheet for some time and have gotten to the point where it
>>is working well with my test document. I introduced a larger production
>>size document and ran the XSLT transformation fine - the XSL:FO looks
>>normal to me.
>>However, when I run it through the formatter I am receiving an out of
>> Error Message: "Exception in thread "Thread-2" java.lang.outof memory
>>Error: Java heap space"
>>I am running the XEP Personal Edition and I am using the XEP Assistant
>>(I haven't been able to get it to run at the command line)
>The XEP reference doc mentions this can be a problem, and you can solve it
>by increasing the amount of memory assigned to the JVM. (Shades of classic
>"You may need to add an -Xmx switch to the Java call mentioned above in
>order to increase the amount of memory available to Java. Recommended value
>of -Xmx is about 80% of physical RAM available on the computer that runs
>I pass "-Xmx150000000" on my machine, which has 2 gigs of RAM.
>I don't know how you'd pass that argument to the JVM using the assistant,
>but you need to.
>(*) 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
(*) 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