[xep-support] Out of memory error?

Chris Ridd chrisridd at mac.com
Mon May 1 09:07:23 PDT 2006


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
> memory error.
> 
>   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
Mac OS!)

"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
XEP."

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.

Cheers,

Chris


-------------------
(*) 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