Skip to Content

Crystal Report Runtime 32 bit SP 20 on 32-bit Wiindows 7 apparently has a memory leak?

Aug 09, 2017 at 10:12 PM


avatar image
Former Member

Windows 7 SP1 32-bit, WinForm .net application, Crystal Report Runtime 32 bit SP 20, .net 4.5 runtime, data is passed to Crystal Report using an ADO.NET dataset.

The report viewer displays the first page of the report with no issues. However, as the user goes to the next page of the report, memory usage increases with each page that is rendered. Eventually, an "Out Of Memory" exception is thrown. It appears that the report rendering is causing a memory leak. The 64-bit version does not have this issue.

Is there a way to resolve this?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Don Williams
Aug 09, 2017 at 10:18 PM

Hi Harold,

How do you know it's Crystal causing the memory leak?

Since you are using Windows 7 move your app back to 3.5 framework and see if it still shows a leak. We've seen other issues with 4.6.x framework, nothing we can fix.

And make sure you are closing and disposing of all objects, not just the report. And use GC.Collect() to force Windows to release memory.

Also, Printer drivers are nortorious for memory leaks, try using No Printer it the report and see if that helps. Or a different printer.


10 |10000 characters needed characters left characters exceeded