|
|
submitted by
wisemx
2 months, 24 days ago
blogs.msdn.com — PROBLEM:
========
Consider you've a ASP.NET application that contains Report Viewer control in Local Mode.
You have an RDLC report file, that loads huge amount of data.
Eerytime you refresh the web page, the Report Viewer stores objects in the session.
The behaviour of Report Viewer storing objects in the session is by design.
Each time the report viewer page is refreshed the complete report info object is added to session.
These objects obviously gets deeply rooted in session and so Garbage collector never collects them untill the complete app unloads itself.
And that is apparently going to increase the memory pressure in multiple folds, ending up with System.OutOfMemoryException.
|
|
tags:
Database | tag it
Everyones tags: | Your tags: | |
|
|
|
Add a live kick counter to your blog >>
You can even customize the image by choosing your own colors, and then clicking
the button below to update the preview and the html code:
Simply copy and paste this HTML into your blog post.
Users who kicked this story:
No comments so far
|