Transformation JVM Arguments default value

Are you missing a feature? Request it's implementation here.
ckabstein
Posts: 88
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 22.1 build 2020072902
DITA OT 3.4.1

Radu
Posts: 7094
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: 221
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).

Post Reply