running out of memory with oXy 17.1.17

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
mark_whisler
Posts: 18
Joined: Fri Sep 12, 2014 1:07 am

running out of memory with oXy 17.1.17

Post by mark_whisler » Thu Mar 10, 2016 1:42 am

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

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

Re: running out of memory with oXy 17.1.17

Post by Radu » Thu Mar 10, 2016 9:10 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

mark_whisler
Posts: 18
Joined: Fri Sep 12, 2014 1:07 am

Re: running out of memory with oXy 17.1.17

Post by mark_whisler » Thu Mar 10, 2016 9:58 pm

We're actually still on 1.62 :oops:

I'll attach a log file shortly.

mark_whisler
Posts: 18
Joined: Fri Sep 12, 2014 1:07 am

Re: running out of memory with oXy 17.1.17

Post by mark_whisler » Fri Mar 11, 2016 12:59 am

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

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

Re: running out of memory with oXy 17.1.17

Post by Radu » Fri Mar 11, 2016 9:59 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

mark_whisler
Posts: 18
Joined: Fri Sep 12, 2014 1:07 am

Re: running out of memory with oXy 17.1.17

Post by mark_whisler » Wed Jun 08, 2016 8:02 pm

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.

radu_pisoi
Posts: 377
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: running out of memory with oXy 17.1.17

Post by radu_pisoi » Thu Jun 09, 2016 2:36 pm

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.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Post Reply