Debugging Memory Problems with MemoryScape™ : Chapter 2 Memory Tasks : Task 13: Comparing Memory : Obtaining a Comparison
Obtaining a Comparison
To create a comparison:
1. Stop your program while it is executing within the first plateau.
2. Save the memory state.
3. Run your program for a short time. Stop it at a later time.
4. Add the saved state back into MemoryScape by selecting Add memory debugging file from Home | Add Program. On the next screen, specify the previously saved state file.
5. Display the Memory Reports | Memory Comparisons screen.
6. Select the two processes being compared. Note that the saved state has a small disk icon () next to it. Figure 71 shows part of the screen containing controls for selecting the processes. The screen containing information is also displayed.
 
Figure 71: Memory Use Comparisons