View the objects hogging memory in aspnet_wp.exe?

  • Thread starter Thread starter thejeffross
  • Start date Start date
T

thejeffross

Is there any tool out there that will let me see the type, number, and
size in bytes of objects on the heap in the ASP.Net process?
 
Yes, there are a couple tools.

CLR Profiler [1] can display the heaps and show you the relative
number and the types on objects on the heap.

WinDbg [2] with SOS.dll can dump the entire heap, and show you the
address and type of every object on the heap. Quite powerful, but a
bit of a leaning curve (not much if you just want to dump the heap).
Googlel for WinDbg and SOS and you'll find a few tutorials. The most
recent version from January also includes shortcut commands to dump
the asp.net cache and other features.

[1]
http://www.microsoft.com/downloads/...52-D7F4-4AEB-9B7A-94635BEEBDDA&displaylang=en

[2]
http://www.microsoft.com/whdc/ddk/debugging/

HTH,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top