View allocated memory

I'm looking for a tool ($, free, open source, I don't care) that will allow me to view not only memory statistics for a .NET program, but also a hierarchy of objects. I would really like each of them to be able to drill through each object and view its print on the leg, as well as the entire object to which it refers.

I looked at things like Reds’s Ants Profiler, but that’s not quite what I want: I cannot view specific instances.

EDIT: I used the .NET Memory Profiler (the one that comes with the visual studio, and the one that used to be part of the SDK (?)), And while it is really good (and shows that most of the others are not), what I really need - is the ability to drill my hierarchy of objects by looking at each instance of the object.

+5
source share
3 answers

I used JetBrains DotTrace and Redgate Ants, both of which I would recommend. A lesser-known profiler that I also used was the .Net Memory Profiler ( http://memprofiler.com/ ), which, while I was using it, provided a different perspective on memory usage than the two profilers mentioned earlier. I find DotTrace and Ants very similar, although each one is slightly different.

+5
source

JetBrains dottrace profiler . . , . Dottrace - , .Net.

0

There is also a Microsoft.net profiler. I used it a bit, and this is not bad for a free tool. Not sure if you can go through the hierarchy of objects, but breaks the memory usage by type and over time. You can even see the basic data.

However, this greatly slows down the application.

0
source

All Articles