Welcome to MSDN Blogs Sign in | Join | Help

February 2008 - Posts

Calculating the size of each GC generation

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
Posted by junfeng | 2 Comments
Filed under: ,

Figuring out object allocation graph from a managed memory dump

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.
Posted by junfeng | 2 Comments
Filed under: ,

Windows Update Error 0x800A0030

The other day my Windows XP machine suddenly can not use Windows Update. Internet Explorer went to the Windows Update web site, but stucked in loading the ActiveX control. Nothing is shown, and no progress is made. After I clicked the Microsoft Update
Posted by junfeng | 2 Comments
Filed under:

Windows Performance Tools Kit

Windows Performance Team has released Windows Performance Tools Kit to the Windows SDK for Windows Server 2008 and .NET Framework 3.5. http://www.microsoft.com/whdc/system/sysperf/perftools.mspx This is the same tool Windows team uses to diagnose Windows
Posted by junfeng | 3 Comments
Filed under:
 
Page view tracker