Re: [xep-support] Java memory settings - to fix "Exception in thread "main" java.lang.OutOfMemoryError"

From: Alexander Peshkov <peshkov@renderx.com>
Date: Wed Apr 20 2005 - 01:54:42 PDT

Hello Peter,

You have to add -Xmx parameter into c:\xep\xep.bat file. Based on the
configuration you mention I think setting maximum Java heap size to
something about 420Mb will be reasonable. If you look inside of
xep.bat you will see something like:

  "C:\Program Files\Java\j2re1.4.2_06\bin\java" -classpath "%CP%" com.renderx.xep.XSLDriver ....

you just have to add -Xmx420M after Java call like this:

  "C:\Program Files\Java\j2re1.4.2_06\bin\java" -Xmx420M -classpath "%CP%" com.renderx.xep.XSLDriver ....

Best regards,
Alexander Peshkov mailto:peshkov@renderx.com
RenderX

PD> I document that I have been converting with XEP has just started to
PD> cause problems during the conversion. It fails with the message
PD> "Exception in thread "main" java.lang.OutOfMemoryError.

PD> Based on the posting in
PD> http://www.renderx.net/lists/xep-support/2251.html I guess that the
PD> document just outgrew the limitations.

PD> I don't know how to control the Java memory settings. Where do I add
PD> the parameter (-Xmx256M)?

PD> I use Windows XP with XEP desktop. I start the XEP conversion by giving
PD> this command on a Cygwin command line "/cygdrive/c/xep/xep.bat -fo
PD> pdf/epedigree-enterprise-guide.fo -ps".

PD> Thanks for your help.

PD> Peter Desjardins
PD> SupplyScape Corporation
PD> 617-453-5760 x441
PD> http://www.supplyscape.com

PD> -------------------
PD> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
PD> in the body of the message to majordomo@renderx.com from the address
PD> you are subscribed from.
PD> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.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/tos.html
Received on Wed Apr 20 02:31:44 2005

This archive was generated by hypermail 2.1.8 : Wed Apr 20 2005 - 02:31:45 PDT