Java heap space error with DocBook webhelp mobile

Achim
Posts: 3

Java heap space error with DocBook webhelp mobile

Wed Aug 20, 2014 8:47 pm

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
Costin
Posts: 255

Re: Java heap space error with DocBook webhelp mobile

Wed Aug 20, 2014 9:48 pm

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
Costin Sandoi
oXygen XML Editor and Author Support
Achim
Posts: 3

Re: Java heap space error with DocBook webhelp mobile

Thu Aug 21, 2014 3:26 pm

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

Return to “DocBook”

Who is online

Users browsing this forum: No registered users and 0 guests