Quantcast
Channel: Installation and Setup
Viewing all articles
Browse latest Browse all 631

How to analyze managed memory

$
0
0

Hi,

I've done many searches before writing here but I can't find a clear way (and it seems strange to me) to view what's inside a process managed memory.

I started looking at memory structure with VMMAP, it says that I've 1GB working set with 400MB private/committed managed heap and 600MB image that is pretty similar to the amount of memory used reported by Task Manager. Saving a dump with procdump and looking at this with DebugDiag using DotNetMemoryAnalisys I can see only 220MB of GC Heap Size and 260MB of  committed memory, where are the missing 140MB? DebugDiag says that 100MB are user by Strings and char[] but without info about where they are used.

Finally collecting data with PerfView and looking at results I can't match any number with the previous one, the most recurring objects are FW internals, not connected directly with my assemblies. 

I'm pretty confused. What is the correct way to answer the question "What's allocated inside the memory of this process and what assembly/module allocate it?"

 


Viewing all articles
Browse latest Browse all 631

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>