Page 1 of 1

Memory fail during "conref" preprocessing

Posted: Mon Aug 10, 2020 6:22 pm
by NicoAMP
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

Re: Memory fail during "conref" preprocessing

Posted: Tue Aug 11, 2020 6:43 am
by Radu
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

Re: Memory fail during "conref" preprocessing

Posted: Tue Aug 11, 2020 9:50 am
by NicoAMP
Perfect, it works well :D

Thanks a lot Radu.

Regards,
Nicolas