Rank: Member Groups: Member
Joined: 2/26/2009 Posts: 20
|
Recently we upgraded from 23.2.65 to 25.0.86. We have over a hundred clients with our software installed using this library, I should note (just giving context). One, that I know of, is having problems since this upgrade, which I have seen. Creating PDFs may work for a day, and then the it will appear to users that it will just 'hang'. I have put in extra logging and from what I can determine it appears that the app pool hangs (literally, nothing happens until the app pool is recycled next), right after HtmlToPdf.ConvertUrl is called. At first we thought it was limited to this, but today, it has now manifested using HtmlToPdf.ConvertHtml.
It is possible that our other clients' servers are set up to have app pool recycling more frequent and are not experiencing this issue. I'm just wondering if it's possible that something has been added to PDFDocument implementation that is disposable that should be in a using statement and that is causing the app pool to run out of memory when a lot of pdfs are created? These clients do create a lot of pdfs daily.
Thank you. I appreciate any insights you may have.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,342
|
Hi,
We did implement some changes in build 25.1.35 that can better recover when the underlying WebView hangs (for example, when the page being converted has an infinite loop). So you can try to update to that build first and see if it resolves the issue for you.
If that does not help, please capture a dump of your app pool process and share the dump with us. We will then look into it and see what we can find.
Thanks!
|