Need assistand in troubleshooting a possible memory leak in a web application
Posted on 2008-06-12
I have a web application that I wrote that appears to a have a memory leak somewhere and I need a little help trying to track this down. The application runs very well for a period of time and then all of a sudden (within seconds), the Peak Mem Usage shoot to 1.3GB. This can happen at any time and it appears to be random. At some point, I assume that Garbage Collection (GC) is happening and the Mem Usage returns to approxiamtely100MB. However, once this happens, the site becomes sluggish and I can see sales dropping off.
What I have done so far is install the Debug Diagnostic tools and started a monitor for Leak Memory against the w3wp.exe process for the web site. I waited for a couple of hours and when it happened, it wrote out 2 dump files for me to analyze.
To be totaly honest, I do not know that much about this tool and I don't really have a good grasp as to what I am looking at. So, can anyone help point me into the right direction as to how to begin tracking down the particular module or code that is causing the problem.
Thanks in advance!