transformation time too long

Post here questions and problems related to editing and publishing DITA content.
dpksaini89
Posts: 66
Joined: Thu Feb 08, 2018 2:44 pm

transformation time too long

Post by dpksaini89 »

Hi Team,

For past 2-3 weeks the pdf transformation is taking too much time. Earlier it used to be max. 5 mins. But now it is taking almost 30-40 mins to publish pdf. On expanding the window to see transformation progress it runs 900-1000 lines of code, sometimes even more.

Please help.
Image
Radu
Posts: 9018
Joined: Fri Jul 09, 2004 5:18 pm

Re: transformation time too long

Post by Radu »

Hi,

Is the DITA content located on your local disk or on a remote server?
It's hard to say what the problem is. Possible problems:

- The transformation may not have very much memory to work with. It finishes but it spends lots of time trying to find available memory.
In this case, increasing the amount of "-Xmx" internal memory given to the DITA OT process might help:

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

- You may have some references to resources which are stored on some remote http site. If you disable your network connection and then run the transformation does the processing report problems related to resources that it can no longer access?

- Is the published DITA Map part of a larger DITA project with lots of other maps and topics? Maybe you added a reference between one of your DITA topics and a DITA topic in another sub-project and the publishing engine will resolve that reference, find in that referenced DITA topic other links and try to follow those as well. You can look in the output folder to see if the number of HTML documents there is more or less equal to the number of DITA topics in your map.

- Did you recently install an antivirus? As the publishing process is very disk intensive maybe an antivirus checking all the files being written may slow down the publishing.

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