Memory fail during "conref" preprocessing

NicoAMP
Posts: 50
Joined: Tue Mar 06, 2018 2:07 pm
Contact:

Memory fail during "conref" preprocessing

Post by NicoAMP » Mon Aug 10, 2020 6:22 pm

Hi,

I launch treatment on a big ditamap using my custom plugin.
This plugin generated the merged file and create a report (with XSL) based on it.

When I launch this transformation with DITA-OT command line, it works.

But when I launch this transformation with an Oxygen scenario I always have the following error during "conref" preprocessing:

Code: Select all

java.lang.OutOfMemoryError: GC overhead limit exceeded  
I tried to increase the amount of memory in oxygen22.1.vmoptions but I still have the memory fail:

Code: Select all

-Xmx12288m
Someone have an idea about this problem ? Thanks.

Nicolas

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

Re: Memory fail during "conref" preprocessing

Post by Radu » Tue Aug 11, 2020 6:43 am

Hi Nicolas,

Oxygen starts the DITA OT as a separate process so increasing Oxygen's startup memory will not help.
You need to edit Oxygen's transformation scenario and increase the -Xmx memory there:

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

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

NicoAMP
Posts: 50
Joined: Tue Mar 06, 2018 2:07 pm
Contact:

Re: Memory fail during "conref" preprocessing

Post by NicoAMP » Tue Aug 11, 2020 9:50 am

Perfect, it works well :D

Thanks a lot Radu.

Regards,
Nicolas

Post Reply