Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
I am on the classes page after comparing two snap shots. What column identifies that a memory leak exists? The documentation says: "If a memory leak exists, you should be able to find a class with new instances that should have been garbage collected" How is this identified graphically? Thanxs!
- Posts: 1029
- Joined: Wed Mar 02, 2005 7:53 pm
You cannot identify memory leaks graphically. To detemine whether a new instance should have been garbage collected you need to have some knowledge of the program you're profiling. Things like brushes, pens etc. in a Windows Forms application are often very short-lived and can usually be disregarded when looking for memory leaks. Form and Control instances on the other hand are usually not short-lived, and new instances of those classes may indicate a memory leak.
If you have not already done so, I suggest that you take a look at the tutorials at: http://memprofiler.com/tutorials
. Lesson 2 guides you through the process of finding a memory leak.
SciTech Software AB
Users browsing this forum: No registered users and 20 guests