Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

CLR Profiler heap graph missing 85% of the allocated objects

$
0
0

When looking at the Heap Graph report in CLR profiler, it appears to be missing 85%+ of the allocated objects.

Here is a screenshot:


The allocation graph correctly shows 174Mb in the root.

Expected: The heap graph also shows 174Mb in the root, and shows the relevant reference paths to those allocations.

Actual: The heap graph shows only 26Mb in the root!

I can see 84Mb worth of strings on the heap with !dumpheap -stat, and this number also shows correctly in the "Allocation Graph". However, the Heap Graph that shows the type reference paths is missing almost all of these objects.

This makes the Heap Graph completely useless for memory profiling, since its not actually showing references to most of the larger memory allocations.

Can someone from the CLRProfiler team assist here? The link below has the source CLRProfiler log, and the corresponding !dumpheap -stat output.

https://drive.google.com/folderview?id=0B8bTEQhK15d6WXZuMkppLWo1TEk&usp=sharing

Best,

Mike




Mike Volodarsky


Viewing all articles
Browse latest Browse all 1710

Trending Articles



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