Is That a WeakReference In Your Gen 2 or Are You Just Glad to See Me?

added by dpeterson
11/1/2011 8:28:32 PM

2 Kicks, 153 Views

John Robbins walks us through debugging an application which is not clearing its memory during garbage collection due to WeakReferences. He shows us how to use the tools available to us to trace the memory problem all the way back to the source.


2 comments

vijayst
11/2/2011 11:38:17 AM
Memory leaks are tough to track down. There are other profilers like ANTS which are easier to use.

Noldorin
11/2/2011 10:37:29 PM
This is strange... I don't quite get it. Surely WeakReferences only encourage/ensure earlier garbage collection? How can they create memory leaks?