Tuesday, July 19, 2011

Mapping the Memory Usage of .NET Applications: Part 2, VMMap and MemoryDisplay

How can you map the memory usage of your .NET application? We'll start with VMMap, a free Sysinternals tool that visualizes your process' virtual address space. Below is VMMap's output for an example process:

image_thumb_7C5C2A51.png

The type statistics give you a detailed overview of how memory usage is distributed – there are 240MB of DLLs, 50MB of managed heaps (of which only 10MB are committed), etc. In the bottom details view you can see each individual address range on the heap, including its type, size, committed size, and other details (such as DLL names for the "Image" type and file names for the "Mapped File" type).

Within the GC heap, VMMap features the ability to identify the various generations (and the Large Object Heap) within the GC segments:

image_thumb_1D5BAEC7.png

Read more: All Your Base Are Belong To Us
QR: mapping-the-memory-usage-of-net-applications-part-2-vmmap-and-memorydisplay.aspx

Posted via email from Jasper-Net