Click here to Skip to main content
13,195,163 members (69,635 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I have generated an rdlc report with about 50 parameters. I have exported this report to image dynamically through localreport.render method. System.outofmemory exception occurs when the report is frequently exported. Plz Help.
Posted 18-Sep-12 23:10pm
Updated 19-Sep-12 3:01am
Comments 30-Oct-15 12:43pm
My case about ***OutOfMemoryException*** not memory problem, I don't know yet _Maybe configuration IIS, Pool, web.config issues ?_

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

AFAIK, there is not much(code wise) that you can do about it.
Refer the following support article: MS Support: You may receive the "System.OutOfMemoryException" error message when you use SQL Server Reporting Services[^]

Look at this discussion on similar lines: Export To Excel Error throws System.OutOfMemoryException[^]

Try to upgrade your web server - look at the RAM available on the server, the processor utilization when the report is called, and the amount of server disk space (for temp storage).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.171019.1 | Last Updated 19 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100