cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

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.

Don

Answers (0)