ANTS Memory Profiler
Latest version: 7.4
Notes & articles
AMP 7 Release Notes
Version 7.4 – April 5, 2012
What's new?
This version adds several minor enhancements and bug fixes.
Known issues
Results files created in ANTS Memory Profiler 7.4 cannot be opened in earlier versions of the product.
Version 7.3 – March 6, 2012
Enhancements
This version adds support for profiling websites in IIS Express and for SharePoint 2010.
Version 7.2 – November 30, 2011
Bug fixes
This version fixes a number of bugs, including:
- Re-enabling custom naming for snapshots taken via the snapshot API
- Preventing the instance list from refreshing on every click when accessed from the instance categorizer
- Resolving a rare race condition in the profiler core
Version 7.1 – August 4, 2011
Enhancements
- As of this version, profiling with Silverlight 5 beta is supported.
- Although full support for Sharepoint 2010 is not built into this version, a workaround may allow you to profile managed code running on a Sharepoint 2010 server with IIS 7. For details, see Profiling Sharepoint 2010.
Bug fixes
This version fixes a small number of bugs present in version 7.0. These include improvements to DEP (data execution prevention) handling, and clearer error messaging if a specified ASP.NET site cannot be found.
This release also fixes a bug in Red Gate's ANTS Performance Profiler, should you have this program installed. The fix, for a bug that silently disabled the "Check for updates on startup" setting, sets a registry key value; this value is set even if you do not have ANTS Performance Profiler installed. The key can safely be ignored.
This fix will not overwrite any "check for updates" preference that you have set manually, and the setting can also still be changed: on the Help menu in ANTS Memory Profiler or ANTS Performance Profiler, click Check for updates... and select or clear the "Check for updates on startup" checkbox.
Version 7.0 – January 18, 2011
Features and Enhancements
ANTS Memory Profiler 7 includes a number of new features and enhancements:
- Redesigned summary. This gives immediate feedback on where your memory is being used, and now warns you if problems with large object heap fragmentation are detected.
- New Instance Categorizer graph. Groups the instances of the class that you are investigating by the shortest path to the GC root, allowing you quickly to spot any paths that should not hold references to the instances.
- Redesigned and reorganized filters.
- New 'show only survivors in growing classes' filter highlights any classes where no instances were disposed between two snapshots, even though the number of instances of that class increased.
- Field properties now available on the Instance Retention Graph.
- Improved support for WPF: Dependency properties now shown with other field properties.
- Snapshot API lets you take snapshots from your code.
See Upgrading from ANTS Memory Profiler version 6 to version 7.
Supported Application Types
- Executable
- ASP.NET web application (running in IIS or web development server)
- Silverlight 4 browser application
- Windows service
- COM+ server application
- XBAP
Supported .NET Framework Versions
Your application must be built for one of the following .NET framework versions:
- 1.1 - (see limitations below)
- 2.0
- 3.0
- 3.5
- 4.0
- Silverlight 4
The .NET 2.0 runtime must be installed for ANTS Memory Profiler to run.
Limitations of the .NET 1.1 framework restrict the memory information ANTS Memory Profiler can retrieve. Specifically, with .NET 1.1 applications:
- Object disposal cannot be tracked.
- LOH fragmentation detection is less reliable.
- The generation in which an object is held cannot be identified.
- Field values and static variable values cannot be displayed.
- Profiling runs more slowly.
Supported OS Versions
- Windows XP SP2 or later
- Windows Server 2003
- Windows Vista
- Windows Server 2008
- Windows 7
- Windows Server 2008 R2
Supports 32-bit and 64-bit versions of all listed OSs. Windows 2000 is no longer supported.
The following feature requires the .NET 4.0 runtime and Windows Vista or later:
- Attach to process
Other System Requirements
- 512 MB RAM (minimum)
- Internet Explorer 6+
- 1 GB free hard disk space
To use the ANTS Memory Profiler 7 add-in, you need at least one of the following versions of Microsoft Visual Studio:
- Visual Studio 2005
- Visual Studio 2008
- Visual Studio 2010
Known Issues
For some types of application, you may have to run ANTS Memory Profiler as an administrator.
If you have Internet Explorer 7 on Windows Vista x64 or Windows Server 2008 x64, it is not possible to profile ASP.NET websites on IIS. Upgrading to Internet Explorer 8 will solve this problem.
On Windows Vista and Windows 7, after profiling IIS using attach to process, ANTS Memory Profiler 7 sometimes cannot stop the session. If this happens, restart ANTS Memory Profiler before starting a new profiling session.
In some cases, Windows Services do not restart properly after profiling. Use services.msc to restart services if required.
To profile an XBAP application, Internet Explorer must be set as your default browser and it must be closed before profiling.
To profile a .NET 4 process, you must first disable concurrent garbage collection.
A limitation in Windows means that it is not possible to successfully attach to a .NET 4 process more than once.
SharePoint 2010 is not supported.
The snapshot API does not work with Silverlight applications, due to security restrictions in Silverlight.
Was this article helpful?
ANTS Memory Profiler
- Installation error 5100 when installing ANTS Performance Profiler and ANTS Memory Profiler
- Attach to process unavailable with some anti-virus software
- Fragmentation notices in ANTS Memory Profiler 7
- The snapshot failed because .NET did not report every referenced object... manually switch your application to the workstation garbage collector.
- Profiling Sharepoint 2010
- Upgrading to ANTS Memory Profiler 7
- Memory leaks observed when profiling Windows Presentation Framework (WPF) applications
- Windows service profiling fails if the service uses a system account
- Log files
- The type initializer for 'y.layout.hierarchic.ClassicLayerSequencer' threw an exception
- Forcing your application to use .NET 4
- System.EntryPointNotFoundException (Versions: 3,4 only)
- Failed to CoCreate Profiler error profiling a Windows service
- ANTS Profiler code instrumentation method
- Add-in fails to load when using RunAs to start Visual Studio as another user
- Profiling unit tests using Nunit
- Can I profile Compact Framework applications?
- Profiling a SharePoint 2007 Web Part
- Profiling IIS web applications that need to run under the SYSTEM account
- Profiling a web application hosted in IIS on a fixed TCP port
- Profiling client-side XBAP .NET applications
- ANTS Profiler prompts for location of source code which is not your own source code
- ANTS menu remains in Visual Studio after uninstall of ANTS Profiler
- Profiling a web application needing to run as the Network Service account
- Cannot start COM+ application via Remote Desktop
- Profiling BizTalk applications
- Profiling Microsoft Office managed-code add-ins
- The system cannot find the file specified
- Error Stopping IISAdmin profiling IIS web application on Windows XP
- ANTS Memory Profiler total size of all objects does not match the memory footprint of an application
- Creating a global debugging symbols (PDB) directory
- Using the add-in to profile solutions containing more than one project
- Application recycling causes incomplete results and other errors when profiling ASP .NET
- (version 5) Support for profiling Silverlight applications
- Couldn't open metabase error when profiling ASP .NET hosted in IIS
- Failed to coCreate Profiler on ASP .NET web application
- HTTP error 404.17 profiling ASP .NET 1.1 on IIS 7
- Performance counters missing from results
- ANTS Profiler restarts IIS
- Please specify a valid URL message profiling ASP .NET
- Operation could destabilize the runtime error profiling ASP .NET
- IIS ceases to work after profiling web applications
- ANTS Profiler has been split into two distinct programs
- Problems with ANTS Memory Profiler 5 and multiple AppDomains
- System.ArgumentOutOfRangeException or CouldNotMapFileException errors in Memory Profiler 5
- Windows Installer errors 1603 and 2738 occurring during installation
- Unable to coCreate Profiler error profiling any application
- General information about "Private Bytes"
- Profiler stopping while profiling an in-browser Silverlight application
- Error: 'Could not load file or assembly vjslib'
- "No Disk" error occurring while profiling application
- Silverlight out-of-browser profiling stops with no results
- Memory Profiler failing to profile web applications with "unable to connect to server"
all products
- Some Red Gate products identified as containing a trojan by Anti-Virus software
- Activation may fail with Unknown Error -1
- Product uses web help although a CHM file is available locally
- Argument exception resulting from missing environment variable
- Check for updates may fail when used through proxies
- 'Unidentified Publisher' error when repairing or uninstalling
- Licensing activates product as standard edition
- Moving Red Gate software products to another machine
- Red Gate tools log locations
- The application UI opening slowly when there is no internet access
ANTS Memory Profiler
- Activating your products
- Activating your products
- ANTS Memory Profiler release notes - version 6.xx
- ANTS Memory Profiler release notes - version 7.xx
all products
- Red Gate product acknowledgements
- Activating your products
- Activating your products
- Red Gate bundle history
- Check for updates
- Troubleshooting Check for Updates errors
- Current versions
- Deactivating your products
- Installing Red Gate products from the .msi file
- Requesting additional activations
- Serial numbers for bundles
- Reactivating using a different serial number
- Extending your trial
- Finding your serial numbers
- Moving a serial number from one computer to another
- No response received for manual activation
- Licensing and activation resources
- Licensing and activation resources
- Troubleshooting licensing and activation errors
- Licensing and activation FAQs
- Red Gate tools log file locations
- Download old versions of products
- Download product prerequisites & utilities
- Support & upgrades
- Upgrading your software
- Upgrading FAQs

Understanding memory problems