Transformation JVM Arguments default value

Are you missing a feature? Request it's implementation here.
ckabstein
Posts: 107
Joined: Fri Apr 24, 2015 12:28 pm

Transformation JVM Arguments default value

Post by ckabstein » Tue Mar 31, 2020 3:29 pm

Hello,

Since we have several large documents that require a lot of memory when transformed, we have come across the error message "java.lang.OutOfMemoryError: GC overhead limit exceeded".
Changing the JVM Arguments value in the transformation's Advanced tab from -Xmx384m to -Xmx1g or -Xmx4g helped immediately to solve this error.
Would it make sense maybe to increase the default value of this option to at least -Xmx1g so that most documents could run without running into this issue?

Best,
Christina
oXygen XML Editor 23.1 build 2021061407
DITA OT 3.6

Radu
Posts: 7579
Joined: Fri Jul 09, 2004 5:18 pm

Re: Transformation JVM Arguments default value

Post by Radu » Thu Apr 02, 2020 9:07 am

Hi Christina,

Thanks,you are quite right, I added an internal issue for this.
The problem might be that if we increase the default allocated memory on certain computers the transformation might not start at all if the operating system cannot allocate that much memory for the process. But these cases may be quite rare. We'll discuss this in an internal meeting.

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

chrispitude
Posts: 336
Joined: Thu May 02, 2019 2:32 pm

Re: Transformation JVM Arguments default value

Post by chrispitude » Sun Apr 05, 2020 2:13 pm

We use a 3GB default for the transformations that our writers run on their laptops (8GB memory).

Radu
Posts: 7579
Joined: Fri Jul 09, 2004 5:18 pm

Re: Transformation JVM Arguments default value

Post by Radu » Fri Nov 20, 2020 1:03 pm

Hi Christina,

We released Oxygen 23 yesterday. With Oxygen 23, default and newly created transformation scenarios no longer have a hardcoded -Xmx memory setting in them. You can still specify the -Xmx in each scenario but if you do not we choose what's best, usually meaning one gigabyte of memory allocated by default instead of the old 512 megabytes.

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

ckabstein
Posts: 107
Joined: Fri Apr 24, 2015 12:28 pm

Re: Transformation JVM Arguments default value

Post by ckabstein » Fri Nov 20, 2020 1:08 pm

Hi Radu,

This is a good solution. Thanks!

Best,
Christina
oXygen XML Editor 23.1 build 2021061407
DITA OT 3.6

Post Reply