PerfView Tutorial 9 - .NET Memory Investigation: Basics of GC Heap Snapshots
- Posted: Sep 13, 2012 at 7:21 AM
- 7,638 Views
- 1 Comment
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
This video describes the basic information you need to start a NET memory investigation and in particular understand the data shown you in a .NET GC snapshot.
The first step in doing .NET Memory investigation is first determine whether .NET Memory is your problem and take a heap snapshot. This tutorial shows you how to determine how much of your process's memory is GC heap and (if that is your problem) shows you how to take a snapshot of the GC heap. For large GC heaps, PerfView does not dump every object, but instead samples the heap (but goes to great lengths to insure that sample is representative). This video describes this sampling and how to learn more about it.