Home Forums DITA and XMetaL Discussion how to get around the java.lang.OutOfMemoryError when creating PDF Reply To: how to get around the java.lang.OutOfMemoryError when creating PDF

Derek Read

Reply to: how to get around the java.lang.OutOfMemoryError when creating PDF

XMetaL can use an alternate version of JRE if you want to try it. We only test using JRE 1.5 however and we know everything works with it and can't recommend any other version. If you have tested with another JRE and know it works then presumably it would be OK.

You can try the following:

Tools > Configure Output > Advanced (tab) and then in the “Other output parameters” section add the following:
JAVA_HOME  =  C:your_java_folder

Specify the folder containing your copy of Java, not the path to the executable (java.exe).

When you generate output you should see that value being set in the DITA output log (opened in XMetaL as log.xml if you have it configured to open the log file).

Reply

Products
Downloads
Support