Page 1 of 1

running out of memory with oXy 17.1.17

Posted: Thu Mar 10, 2016 1:42 am
by mark_whisler
I'm building oXygen webhelp for a pretty large Help system, ~18k topics, with oXy Editor package 17.1.17 and have increased the Advanced>JVM Arguments setting to -Xmx4096m (which works fine in 16.1) but I'm still running out of memory.

Any suggestions?

.MW

Re: running out of memory with oXy 17.1.17

Posted: Thu Mar 10, 2016 9:10 am
by Radu
Hi Mark,

Are you using the DITA OT 1.8 or the DITA OT 2.x bundled with Oxygen? The Preferences->DITA page should tell you what the used DITA OT installation is.
After the publishing fails from Oxygen, there should be also a DITA OT console tab at the bottom of the editor showing all messages received from the ANT process. Could you save to disk and zip that content, then attach it to an email (support@oxygenxml.com)? it may help us see what the problem is.

Regards,
Radu

Re: running out of memory with oXy 17.1.17

Posted: Thu Mar 10, 2016 9:58 pm
by mark_whisler
We're actually still on 1.62 :oops:

I'll attach a log file shortly.

Re: running out of memory with oXy 17.1.17

Posted: Fri Mar 11, 2016 12:59 am
by mark_whisler
I forwarded a zip file of the entire log with the subject line
"regarding forum post 37779 - out of memory error in oXy 17.1.17"

Hope that helps

Re: running out of memory with oXy 17.1.17

Posted: Fri Mar 11, 2016 9:59 am
by Radu
Hi Mark,

Thanks for the log file.
I see two possibilities you could try:

1) Throw more memory at it, increase the Xmx.
2) Edit the XSLT stylesheet:

C:\Program Files\Oxygen XML Editor 17\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\build_dita.xml

and at line 293 there is an <xslt> task. You can try to add an extra attribute to it reloadstylesheet="true".
The attribute may make the processing a little bit slower but it should also decrease the amount of used memory.

Regards,
Radu

Re: running out of memory with oXy 17.1.17

Posted: Wed Jun 08, 2016 8:02 pm
by mark_whisler
We're still having memory issues, now with Author v. 18. We've adjusted the xmx in both the UI and in the .vmoptions file. I'll upload the latest log file shortly. Currently we can only build using Editor 16.1 with the xmx set to either 4096 or 8192.

Re: running out of memory with oXy 17.1.17

Posted: Thu Jun 09, 2016 2:36 pm
by radu_pisoi
From the log file sent by you I understand that you are using Oxygen XML Author 18 with bundled DITA-OT 1.8.5. Look in the log file:
Buildfile: C:\Program Files\Oxygen XML Author 18\frameworks\dita\DITA-OT\build.xml
So, to apply the suggestion from the previous post you have to modify the build file:

Code: Select all

C:\Program Files\Oxygen XML Author 18\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\build_dita.xml
At the line 338, set the reloadstylesheet="true" attribute.