HTML to PDF conversion sometimes hangs or times out

We are using the HTML to PDF functionality to generate printable PDF reports and once deploying to our server we were getting spikes of 100% CPU usage and occasionally the user trying to generate a PDF report would receive a timeout error. We disabled Aspose report generation, and the CPU is back to normal performance and usage.

We built a local console test application to see if we could find anything that I am including here. The first thing that jumped out to me is that the first instance always takes longer, so that could be the issue when it is running on a server with IIS, but I don’t know any way to resolve that.

Could we get some feedback on this on if there are any known issues? Are there any performance improvements that we could make?

TestAspose-ForumPost (2).zip (221.7 KB)

@chadg
Let me investigate a bit this issue, I’ll write you as soon as possible

@chadg
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-58396

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Thank you for your patience
I found no direct ways to speed up perfomance, therefore I added task to development team for explanation
I’ll notify you in case of any updates