There are many tools available to help you detect such a problem. Try ANTS Memory Profiler or WinDbg + SOS .
ANTS allows you to take pictures and compare them. This will help you determine what the extra memory is.
WinDbg allows you to check a bunch. Team! Dumpheap is useful. Look at an unexpected number of instances. To check why objects are not returned by the GC, use the command! Gcroot. Take the booty to the Tess blog for more information on WinDBg + SOS.
source
share