.NET Memory Profiler Tutorials
We have prepared a set of tutorials that will guide you through some common .NET Memory Profiler tasks.
The tutorials are based on a Game of Life application that exhibits some memory related issues.
The source code of the application, including a Visual Studio solution, can be downloaded using the links to the right. The compressed source code file also contains a file named "build.bat", which can be used to build the Game of Life application without using Visual Studio.
NOTE! The tutorials were created using the previous version of .NET Memory Profiler. Lesson 2 and 3 are still very useful for learning how to locate memory problems, but lesson 1 is a bit more outdated. We are planning to update the tutorials after we have released the next version of .NET Memory Profiler. If you have any suggestion on how we should improve the lessons, or a suggestion for another lesson, please send an e-mail to email@example.com.
Lesson 1: Getting Started (obsolete)
This lesson will guide you through the necessary steps to start profiling the Game of Life application. It will also take a look at the profiler settings and give a brief explanation of them.
Lesson 2: Locate and Fix a Memory Leak
This lesson will show you how to locate and fix a memory leak in the Game of Life application.
Lesson 3: Optimize Memory Utilization
This lesson will show you how to use the real-time view and the dispose tracker to optimize the memory usage of the Game of Life application.
NOTE! You will need a Flash Player to be able to run the lessons from the web.