Welcome Guest Search | Active Topics | Sign In | Register

App Pool out of memory? Options
Janice
Posted: Monday, April 7, 2025 3:53:21 PM
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.
eo_support
Posted: Tuesday, April 8, 2025 10:24:44 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.