Page 1 of 1

Out of memory error - Oxygen Author

Posted: Tue Mar 10, 2015 11:31 pm
by srooney
Hello, when I generate a large document, I receive the following error message: D:\Apps\Oxygen XML Author 12\frameworks\dita\DITA-OT\build_preprocess.xml:281: java.lang.OutOfMemoryError: GC overhead limit exceeded. As Support suggested to other users on this forum, I raised the "Memory available to the built-in FOP" value to 1024. I still receive the error message and the operation fails. I can generate other, smaller PDF documents successfully. I use Oxygen Author 12, Windows 7 and Java 1.6. Please suggest other strategies to try.

Re: Out of memory error - Oxygen Author

Posted: Wed Mar 11, 2015 12:47 am
by adrian
Hi,

You may have seen the instructions for Docbook to PDF, which involve that option.
For DITA the transformation is run differently (by the DITA-OT), so you need to increase the memory for the DITA-OT process.
Edit the transformation scenario (duplicate it if asked), and in the Advanced tab modify in the JVM arguments field the value of the -Xmx argument. e.g. -Xmx1024m.

Regards,
Adrian

Re: Out of memory error - Oxygen Author

Posted: Tue Mar 17, 2015 5:20 pm
by srooney
This did the trick, Adrian. Many thanks!