Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 905
webnoob Avatar asked Aug 24 '10 11:08

webnoob


1 Answers

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.

like image 55
Rowland Shaw Avatar answered Sep 24 '22 13:09

Rowland Shaw