Big publication stuck - Upgrading new DITAOT from DITA-OT version 1.8 #4536
-
Hi All, Big publication stuck - Upgrading new DITAOT from DITA-OT version 1.8. We recently upgraded from DITA-OT 1.8 to version 4.2.3. We copied all the old custom plugins into the new version without changing any XSLT code, and the upgrade was successful. Small publications are working fine, but larger publications are getting stuck. Please share any ideas on how to resolve this issue." |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Could you give more details? What do you mean by “stuck”? Maybe you could run the dita cmd line with the -v param and post the last 10-20 lines of console output. |
Beta Was this translation helpful? Give feedback.
-
@ganapathy1 I do not understand what you mean by "The .fo file printing line by line", the DITA OT console output should not print the contents of the FO file unless you have maybe added extra xsl:messages in the stylesheets. If so, maybe you can remove your xsl:messages and see if the publishing is faster. You could also try to increase the amount of memory allocated to the DITA OT process: |
Beta Was this translation helpful? Give feedback.
Thank you for your reply.
We migrated our customization code from DITA-OT version 1.8 and copied all the customization plugins to the new version, DITA-OT 4.2.3. While a small input file generates the PDF output correctly, larger input files are not generating the PDF and are getting stuck in the stage2.fo processing step. After few analaysis in the code, I have noticed that common.xsl and table.xsl are the main reasons for the slowness issue in our customization folder for PDF generation. I copied these files from the default plugin org.dita.pdf2, and now the PDF is generated within 3 minutes for large publications. I am workng in table and common xslt part to fix this issue.