.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.NET 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.NET.
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 memprofiler@scitech.se.
Lesson 1: Getting Started
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.
Start lesson 1 (1,448
KB)
Download lesson 1 as a zipped executable (2,096
KB)
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.
Start lesson 2 (5,092
KB)
Download lesson 2 as a zipped executable (5,739
KB)
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.
Start lesson 3 (4,460
KB)
Download lesson 3 as a zipped executable (5,107
KB)
NOTE! You will need a Flash
Player to be able to run the lessons from the web.