Skip to Content
avatar image
Former Member

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

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    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.

    Don

    Add comment
    10|10000 characters needed characters exceeded