Use SOS to investigate the memory leak

Link:

http://blogs.msdn.com/b/vijaysk/archive/2007/11/15/sos-your-visual-studio.aspx

 

Useful commands:

  • !dumpheap

       to see what’s all the stuff that we have on the heap. 

!dumpheap -stat -type Autodesk.Catalyst.Components.Interfaces.Actions.ActionTrait

  

  • !GcRoot

         to find who is referencing our object

!GcRoot 32219a10

posted on 2011-12-22 13:37  Jalen Wang  阅读(225)  评论(0编辑  收藏  举报

导航