Calculating the size of each GC generation- February 25, 2008 Sos.dll does not have a command to tell the size of each GC generation. However, you can calculate the size based on the output of !eeheap -gc. For example, 0:000> !eeheap -gc Number of GC Heaps: 1 generation 0 starts at 0x1da6c430 generation 1 starts at 0x1da5c240 generation 2 starts at 0x01a41000 ephemeral segment allocation context: none segment begin allocated size 01a40000 01a41000 02a1cc4c 0x00fdbc4c(16628812) 0c7f0000...http://blogs.msdn.com/junfeng/archive/2008/02/25/calculating-the-size-of-each-gc-generatio... Figuring out object allocation graph from a managed memory dump- February 21, 2008 when debugging a managed memory dump, we can use Sos.dll to inspect managed objects inside the dump. for example, we can do !dumpheap to list the managed objects in GC Heap, we can also use !gcroot to figure out the reference path to a particular object. However, if we want to understand the whole picture, !gcroot isn't going to cut it. Then we can do !traverseheap. It writes the GC information to a format understood by CLR Profiler. We can then use CLR Profiler to inspect the object...http://blogs.msdn.com/junfeng/archive/2008/02/21/figuring-out-object-allocation-graph-from... |