Memory Debugging

  • Thread starter Thread starter Aaron
  • Start date Start date
A

Aaron

I just made a web app and there's some memory leak in the code. I can't use
the VS.NET debugger for this. I would like to be able to see what's going on
in the memory. What is the best memory debugging program?

Aaron
 
Hi Aaron,

The best tool is the Allocation Profiler to debug managed
memory allocations. You can obtain on
www.sysinternals.com. You have several diagrams in this
app, so please note that the Allocation Graph (which is
the most interesting one) shows allocations, not leaks,
so it will not show you the memory that you not freed up.

To identify leaks, please run you app from the Allocation
Profiler (AP), then when you feel that you have a leak,
click on the "Show heap now" button on the AP. This will
show you the heap: what kind of objects you have on the
heap and which module allocated them. You can see the
GC's contents also from another views.

Good luck,
David
 
I can't seem to find this "Allocation Profiler", can you give me direct
link?

Thanks
Aaron
 
Back
Top