Tracking down managed memory leaks (how to find a GC leak) in 7 steps

Step 1: Run your process and put it in the state you are curious about
Step 2: Use tasklist to find its process ID
Step 3: Use VADump to get a summary of the process
Step 4: Attach Windbg and load SOS
Step 5: Get the CLR memory summary
Step 6: Dump Type Specific Information
Step 7: Identify the roots of suspected leaks

From Rico Mariani


 
 
 

Leave a Reply