Strategies for memory profiling
Published 11 December 2012
These pages contain guidelines and recommendations for common memory problems, including heuristics about memory usage patterns that might indicate a problem. Every application is different, so these guidelines only outline strategies for memory profiling. To apply these strategies you will need a good understanding of your application.
To get the most useful results, you will need to take several snapshots at appropriate times. You can either do this manually, while you interact with your application, or you can take snapshots at precisely the right moment by modifying your code.
The memory counters used by Windows Task Manager and Performance Monitor can give misleading results. Because of this, you shouldn't try to compare results shown in ANTS Memory Profiler with these other products.
For more information about different types of memory counter, see Setting up performance counters.
Identifying types of memory problems
There are many different types of memory issue, so the first step to solving your problem is to work out what type of problem you have.
We recommend the following steps: