Geeks With Blogs
Boghy Dan March 2013 Entries
Fixing memory leaks with WinDbg in .NET
Although GC is doing most of the job in reclaiming the memory from unneeded objects in .NET, there are still situations when this is not happening. Event handlers that are not properly disposed keep a strong reference to the objects and by this prevent the GC to free the memory. I've seen recently that WinDbg can be very handy in investigating such issues, by allowing you to see what are the objects in the memory and what holds them there. There were several commands that were useful in the investigation:DumpHeapDumpO... ......

Posted On Thursday, March 14, 2013 11:05 PM

Copyright © boghydan | Powered by: GeeksWithBlogs.net