Developer forum

Forum » Development » Memory leaks with abcpdf

Memory leaks with abcpdf

Anders Ebdrup
Anders Ebdrup
Reply

Hello,

 

We are experiencing some serious memory issues when generating pdf's with "?pdf=true" as the memory consumption by the iis is not lowered after generating the pdf report. When the memory usage is not falling we see that the server crashes or the CPU is stocked on 100% and by this unresponsive.

Some times we get this error in the Event Viewer:  Object ID unrealistically large [ID 1000001 Max 1000000]. Does anyone knows what that error code is about?

 

Does Dynamicweb clean up well enough after using abcpdf (Please see screendump for some suggested optimizations which I am sure does not covers it all)? Can it be an idea to try to upgrade abcpdf to latest version (11)?

 

The actual case is with DW8.

 

Best regards, Anders


Replies

 
Nicolai Pedersen
Reply

Hi Anders

That is an ugly bug - not wrapping the pdf, that we even implemented idisposable on, in a using statement. Registered as TFS#44818 and fixed and ready to ship. Let's see how this acts before we update abcpdf on the DW8 branch.

This is a DW8 bug only - DW9 has this fixed some time ago.

Thanks, Nicolai

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply
This post has been marked as an answer

Hi Anders

The problem regarding #44818 "pdf=true on dw8" has now been resolved in Dynamicweb version 8.9.2.18

To upgrade please choose this version from backend or download from here:

http://doc.dynamicweb.com/releases-and-downloads/releases

Let me know if you need any more help regarding this

Kind Regards
Dynamicweb Support
Kristian Kirkholt

Votes for this answer: 1

 

You must be logged in to post in the forum