Welcome Guest Search | Active Topics | Sign In | Register

Memory Leak in EO.PDF Options
Manohar
Posted: Wednesday, May 11, 2016 9:14:15 PM
Rank: Newbie
Groups: Member

Joined: 5/11/2016
Posts: 1
We have a Windows Service using .NET 4.5. We are using EO.PDF version 15.2.78.2.
We found that the memory is not getting released from the EO.PDF code. After doing code and memory profiling, we were able to narrow it down to EO.Pdf objects. Please let us know if there is any resolution for this issue. Below is the sample code from our application.

using (var memStream = new MemoryStream())
{
HtmlToPdf.ConvertHtml(htmlContent, memStream);
HtmlToPdf.ClearResult();
return memStream.ToArray();
}
eo_support
Posted: Thursday, May 12, 2016 11:05:01 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

Your code looks fine. Can you send us a screenshot of the memory graph in your profiler so that we can see if we can find what memory was held in memory? See here for more information on how to send test files to us:

http://www.essentialobjects.com/forum/test_project.aspx

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.