Page 1 of 1

Java heap space error with DocBook webhelp mobile

Posted: Wed Aug 20, 2014 8:47 pm
by Achim
Hello,

I got a Java heap space error while trying to generate webhelp mobile from a DocBook file (16 MB).
I tried to adjust -Xmx in oxygen16.0.vmoptions. But even 3000m had no success. Is this the right place for the configuration?

I was successful to generate webhelp mobile from a similar DocBook file with less size (10 MB).

The DocBook files are generated by Oxygen as documentation for XML Schemas. They have a large amount of elements. The smaller approx. 800 elements, the larger approx. 1200 elements.

Used Software:
Oxygen 64bit 16.0, build 2014052022
Windows 7 64 bit

Any help is appreciated.

Cheers,
Achim

Re: Java heap space error with DocBook webhelp mobile

Posted: Wed Aug 20, 2014 9:48 pm
by Costin
Hello,

Please note that if you get out of memory while applying a transformation, you should increase the memory available for the transformer.

Therefore, what you should do to further avoid this occurring again, is to open the transformation scenario configuration dialog, either by going into oXygen menu Document > Transformation > Configure Transformation Scenario(s), or by using the corresponding button in the Transformation toolbar, select and edit your "DocBook WebHelp-Mobile" transformation scenario (click "Yes" if asked to duplicate your scenario first) and, under the first ("Options") tab you should raise the value for the "JVM Arguments" field.

For example, you could set it to -Xmx512m or -Xmx768m.

Feel free to let us know if you still encounter further issues, even after raising this value.

Regards,
Costin

Re: Java heap space error with DocBook webhelp mobile

Posted: Thu Aug 21, 2014 3:26 pm
by Achim
Hi Costin,

Thank you for the quick reply. This was the right hint. It worked now successfully with -Xmx 512m for the transformer. I used XML Editor 16.0, build 2014070913.

Thanks again,
Achim