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(); }
|
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.aspxThanks!
|