How to solve out of memory error

dpksaini89
Posts: 66
Joined: Thu Feb 08, 2018 2:44 pm

How to solve out of memory error

Post by dpksaini89 » Tue May 15, 2018 8:25 am

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: 6541
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to solve out of memory error

Post by Radu » Tue May 15, 2018 8:30 am

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 » Tue May 15, 2018 8:55 am

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 » Tue May 15, 2018 1:51 pm

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: 6541
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to solve out of memory error

Post by Radu » Tue May 15, 2018 2:02 pm

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