02 October 2013

ANTS Memory Profiler 8 released!

I’m excited to say that we’ve just released ANTS Memory Profiler 8!

The big news is support for profiling .NET’s usage of unmanaged memory. There are two main parts to this. Firstly you can see a breakdown of unmanaged memory usage by module. This lets you see at a high level where unmanaged memory is being used – for example in the image below, it’s being used by a PDF generation library.

modulebreakdown.png

Separately, when looking at a list of .NET classes, you can see how much unmanaged memory those classes are responsible for holding on to. You can also see that information for individual instances of those classes.

unmanagedclasslist.png

Some clues you might need this:

  • You’re using system objects or 3rd party components which deal with unmanaged memory under the hood (this includes things like the GDI+ functions used for working with bitmaps)
  • Your application still relies on some legacy Delphi / C++ / etc code from left over from the days before your company moved over to using .NET
  • You’ve used a previous version of ANTS Memory Profiler, and have ever seen a pie chart that looks something like this:

unmanagedpie.png

You’ll also notice that the startup process has been entirely redesigned, bringing it in line with ANTS Performance Profiler 8, which was released earlier in the year. This makes it faster to start profiling and to run repeat profiling sessions, lets you profile using any browser instead of Internet Explorer, and also provides a host of stability improvements, particularly when launching websites in IIS.

Download the new version (there’s a free trial), and as always I’d love to know what you think – just email dotnetteam@red-gate.com.

Cheers!

Ben

Keep up to date with Simple-Talk

For more articles like this delivered fortnightly, sign up to the Simple-Talk newsletter

This post has been viewed 5973 times – thanks for reading.

  • Rate
    [Total: 0    Average: 0/5]
  • Share

Ben is a technical product manager for Redgate’s developer tools. He spends his days digging into what makes applications grind to a halt, what makes them bloat and fall over, and what it takes to build something fast and scalable. When he’s not doing that, he’s probably messing with some electronics, cooking, or playing the violin.

View all articles by Ben Emmett