We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PDF file conversion performance Drops significantly when running inside Tomcat 7

Same exact pdf file. I’m extracting the text from a pdf into a text file, and then converting the pdf into html.
These are my times in milliseconds. I don’t understand why I have such a huge difference in times. Any thoughts or suggestions. FYI I’m using -Xmx=2048 and -Xms=2048

  • Standalone - using Java 8
    * pdfExtractor.extractText() - 423ms
    * doc.save - 3742ms
    * Apache Tomcat Server 7.0.85 using Java 8
    * pdfExtractor.extractText() - 7548ms
    * doc.save - 14123ms

Just to let everyone know, the performance issue was resolved by moving to Tomcat 8.5. It’s not quite as fast as running it standalone, but it is close as the times move past about a second they converge.


Thank you for contacting support.

We are glad to know that your problem has been resolved. Please keep using our API and in event of any further query, feel free to ask.