question

Sankar-2907 avatar image
0 Votes"
Sankar-2907 asked lextm commented

IIS App Pool Virtual Memory drastically increase when generate report using Crystal Report

Hi All,

We have developed ASP.net web application and deployed in IIS with 32bit enabled. We are getting Out of memory issue when generate the crystal report. The memory is not releasing after the report as well. We have analyzed the code and used GC.Collect() in the required places and released memory as well but still the app pool virtual memory is not releasing.

Please advise me.

windows-server-iis
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

If you read a little more on how generational GC works internally, you will see why GC.Collect() won't help much. Try to follow the troubleshooting guide, https://docs.microsoft.com/en-us/troubleshoot/aspnet/troubleshoot-outofmemoryexception or simply switch to 64 bit to give the process more memory space.

0 Votes 0 ·

0 Answers