How to solve out of memory error

Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
dpksaini89
Posts: 66
Joined: Thu Feb 08, 2018 2:44 pm

How to solve out of memory error

Post by dpksaini89 »

Hi I am getting "Out of Memory" error while dita map pdf transformation.
Please help its urgent i have to publish the doc asap.
Please suggest how to resolve this error.
Image
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to solve out of memory error

Post by Radu »

Hi,

Edit the transformation scenario you are using in Oxygen to publish to PDF and in the Advanced tab there is a "JVM Arguments" field in which you can increase the maximum amount of memory given to Oxygen, for example change its value from the default -Xmx384m to -Xmx1024m

https://www.oxygenxml.com/doc/versions/ ... anced.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
dpksaini89
Posts: 66
Joined: Thu Feb 08, 2018 2:44 pm

Re: How to solve out of memory error

Post by dpksaini89 »

Thanks it worked.
dpksaini89
Posts: 66
Joined: Thu Feb 08, 2018 2:44 pm

Re: How to solve out of memory error

Post by dpksaini89 »

Hi It was working fine. But now it has again started through error. with -Xmx1024m.

what is the maximum value I can give here?
Or is there any other way to prevent re-occurring errors.
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to solve out of memory error

Post by Radu »

Hi,

Do you obtain the out of memory on the same DITA project as before or on a different one?
The maximum amount of memory that you can pass to the started publishing process may depend on the total amount of RAM memory available on your computer. -Xmx1024m means one gigabyte of RAM memory. If you pass a very large value, larger than the internal memory available on your computer, the publishing will fail to start.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply