Page 1 of 1

transformation time too long

Posted: Fri Oct 05, 2018 12:59 pm
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

Re: transformation time too long

Posted: Mon Oct 08, 2018 11:20 am
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