Having recently increased by ANT_OPTS env variable from 1024 to 2048, my external Oxygen WebHelp transformation started failing again with error
Code: Select all
[echo] Using directory C:\DITA\dita-ot-2.2.2\plugins\com.oxygenxml.webhelp/lib
Error: The following error occurred while executing this line:
C:\DITA\dita-ot-2.2.2\plugins\org.dita.base\build_preprocess.xml:42: java.lang.OutOfMemoryError: GC overhead limit exceeded
I have now increased ANT_OPTS to -Xmx3000 for a transform time of 10 mins or -Xmx4000 for a transform time of 5 mins.
We are only 6 months into our content development which will grow each week and I am starting to get concerned about the memory that WebHelp needs to transform our content.
What areas of my DITA can I analyse to see if there is something I can improve on in order to reduce my transform time?
I can share the output of my build again if that helps inform my use of conrefs etc.?
Any advice appreciated,