Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
I recently created a question on StackOverflow, asking if there were any commercial programs that could tell me what is keeping a certain class alive?
Please see the question here:
http://stackoverflow.com/questions/1113 ... ce-to-what
Can MemProfiler help me with this problem?
- Posts: 1030
- Joined: Wed Mar 02, 2005 7:53 pm
Yes, .NET Memory Profiler will help you find out what is keeping Foo alive. If you run your program under .NET Memory Profiler (e.g. by using the "Profile application" command), you will be able to collect snapshots of the managed memory. From the Overview table you can the show the details of the Foo type (by double-clicking). A list of live instances of the Foo type will be presented, and by double-clicking an instance you will see the details of the instance. The details include an instance graph that will provide information about why the instance has not been GCed.
SciTech Software AB
Users browsing this forum: No registered users and 26 guests