We got a problem in one of our ASP.net apps, the mscorwks.dll is using a lot of memory.
Anyone got any tips on where to start looking for the memory leak ?
mscorwks!EEVirtualAlloc+119: 1.26 GBytes worth of outstanding allocations.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The steps to investigate which managed types are causing the leak, can be summarized in the following steps:
.loadby sos mscorwks(replacemscorwkswithclrwhen your application runs on v4.0)!dumpheap -stat!dumpheap -mt <INSTANCE METHODTABLE>(the methodTable can be retrieved from the output of the previous command)!gcroot <INSTANCE ADDRESS>At this point, you should have enough data to find the source of your leak.
A more detailed article about these steps can be found here.