.netasp.netmemorymemory-leaksred-gate-ants

ANTS Memory Profiler - Which memory should I be looking at?


I have a memory issue on my websites and am trying to get to the bottom of it. I have downloaded the 14 day trial of ANTS Memory Profiler and have been playing with it to get a grip of what it's telling me. In the memory options on the timeline, I can see Bytes in All Heaps and Private Bytes etc but I am not sure which ones I should be focusing on to see where the memory spikes and doesn't go back down.

I am profiling a ASP.NET website using ASP.NET 2.0.

Can someone advise?


Solution

  • Bytes in all heaps will cover all your .net objects, whilst the private bytes will also cover non-.net objects (so if you use any COM objects, for instance). I'd start by focussing on the managed objects (so bytes in all heaps), before worrying about the overall picture.