I have a Asp.net/C# web Application hosted under IIS7.5 server 2008 64bit. my application build is 32 bit. The viewstate of my pages are very large (1mb to 4mb).
the problem that i am seeing is that when i keep using the website for a period of time the Memory usages of the browsers keeps growing upto 50 MB. i am not sure where should i start looking for the problem. i have ScriptManger in my master page and proxy on my child pages not sure if it contributes to this?
and where the problem could be, any help would be appreciated.
I have a Asp.net/C# web Application hosted under IIS7.5 server 2008 64bit. my application
Share
Your issue is that you’re storing too much on the client side (viewstate or cookies). For each request the user makes their browser is uploading this to your web server. So, even though the web server can process the request quickly it takes a while for the 4MB request to be uploaded to the server. This isn’t a memory leak. It is a flaw in your logic in regards to how much you store on client’s browser. Perhaps on each page load you are adding the same large data to the client’s viewstate or cookies so after a while the requests get so large that the wait time becomes noticeable. To determine the problem you need to monitor viewstate and cookies for each page request from one client and see exactly what grows and then you should be able to identify the cause.