Find memory leaks and optimize memory usage in your .NET application

ANTS Memory Profiler

Introduction to ANTS Memory Profiler

.NET developers use ANTS Memory Profiler to:

  • Find memory leaks within minutes
  • Optimize the memory usage of your C# and VB.NET code
  • Profile your code's use of unmanaged memory
  • Create better performing, less resource-intensive applications

Try it free for 14 days now

Download free trial

1 Year Subscription

$441 per user

Buy now

1 Year Subscription

$375 per user

Buy now

1 Year Subscription

$354 per user

Buy now

20+

 users

Contact us for a personalized quote

0800 169 7433 

Why use ANTS Memory Profiler?

Automatic memory management in .NET makes development a lot easier, but it's still easy to introduce memory leaks into your application. For example, forgetting to unregister event handlers can lead to significant chunks of memory being held on to unnecessarily, but spotting that this is happening can be very difficult.

Trying to understand memory problems without a suitable tool can take hours or days, if you're lucky enough to know a problem exists. This is time which would be better spent fixing the problem.


A tool every .NET developer should use

ANTS Memory Profiler makes memory profiling simple.

Key features

Obtain clear, meaningful results

Making it easier for you to interpret the information. Spend your time fixing problems instead of struggling to understand them.

Get results fast

With a footprint of less than 32 MB, the profiler can comfortably profile large, complex applications, with virtually no overhead. Take as many snapshots of the heap memory as you like, in seconds rather than minutes.

Quickly visualize the relationships between your objects

Use the instance retention graph to quickly see why your leaking objects are still being held in memory. You don't have to build a mental map to keep track of how objects reference each other.

Go straight to the source of the problem

Intelligent analysis highlights the most likely causes of issues, often saving hours of problem-hunting.

Zero in fast on the cause

Powerful filtering options allow you to cut through the noise, enabling you to quickly get to the root of even the most complex problems.


If you're programming in C# or VB.NET, and you need to understand where your memory is going, give ANTS Memory Profiler a try.

It takes five minutes to download, install, and start using the tool.

Features

  • Instance retention graph quickly allows you to see the shortest reference paths to all GC roots, which will need to be broken to fix memory leaks.
  • Compare any two snapshots with each other.
  • Automated API for taking snapshots from within your application using a single line of code.
  • Capable of attaching to a running .NET 4 / 4.5 / 4.6 process. Ideal if you want zero downtime and to preserve the state of your current process.
  • Ability to profile .NET executables, ASP.NET and ASP.NET 5 DNX applications and web services in IIS, IIS Express, and Web Development Server, worker and web roles running in the local Azure emulator, SharePoint 2007 or 2010 collections, Silverlight applications, Windows services, and COM+ applications.
  • Supports .NET 2 to .NET 4.7, including .NET Core and .NET Standard, in any language supported by the .NET framework.
  • Profile unmanaged memory use – if your .NET code uses unmanaged code or components, you can see how much memory unmanaged modules and classes are holding on to.
  • Ability to take and analyse an arbitrarily large number of memory snapshots.
  • One-step setup dialog.
  • Assembly loading view to let you explore memory consumption from static and dynamic assemblies.
    Find out more.
  • Native Windows Presentation Framework (WPF) support.
  • Integration with Visual Studio 2010, 2012, 2013, 2015, and 2017 so you can start profiling your application from within your IDE. One click launches ANTS Memory Profiler within seconds, with the executable path already set.

Resources

Videos

Getting started with ANTS Memory Profiler

A quick look at some of ANTS Memory Profiler's features, and how they take the pain out of memory profiling.

Watch video

Webinars

5 Misconceptions about .NET Memory Management

In this webinar, Clive Tong discusses 5 of the most common misconceptions about .NET memory management. He's joined afterwards by ANTS Memory Profiler lead developer Andrew Hunter for a Q&A session, where they answer questions about how memory management works.

Watch webinar

Articles

Learning .NET memory management

In this free 6-part article series, Ricky Leeks gathers together the top tips and techniques for understanding .NET memory management, including:

  • The top 5 memory management misconceptions
  • How to avoid automatic garbage collection
  • Understanding .NET interoperability

...and more.

Start learning about .NET memory management

Licensing options

Floating license

Although we don't offer a floating license, Redgate's licensing model includes volume discounts. These are often more cost-effective than a typical floating license model, and they let all your users work with their tools at the same time, without waiting for a license to become free.

In the odd case that the volume discount scheme doesn't make life easier for you, we'll happily review your circumstances and work with you to find a better solution.

Personal licenses

We offer a 50% discount for a single personal license for personal use, hobbyist use, and home use. This license is not available to companies.

Open source licenses

We offer a range of free licenses for use on your open source projects. Find out more

Licenses for education, non-profit, charities, and start-ups

We've helped lots of organizations in these categories over the years, so we're very happy to discuss circumstances around our licensing. Please get in touch directly to see how we can help.

Student licenses

We're happy to provide free non-commercial use licenses for individual students in education, upon verification. Please contact us to apply for a license of this kind and to get more information.