1. ANTS Memory Profiler 7 Documentation
Total Page:16
File Type:pdf, Size:1020Kb
1. ANTS Memory Profiler 7 documentation . 3 1.1 Requirements . 4 1.2 Installing . 5 1.3 Licensing . 6 1.3.1 Activating . 7 1.3.2 Deactivating . 13 1.3.3 Troubleshooting licensing and activation . 16 1.4 Upgrading . 19 1.4.1 Upgrading to ANTS Memory Profiler 7 . 20 1.4.2 Using Check for Updates . 22 1.4.3 Troubleshooting Check for Updates errors . 24 1.5 Understanding memory problems . 25 1.5.1 Memory management primer . 26 1.5.2 Understanding ANTS Memory Profiler . 30 1.6 Setting up and running a profiling session . 31 1.6.1 Profiling an executable . 32 1.6.2 Profiling a web application . 33 1.6.2.1 Profiling on IIS . 34 1.6.2.2 Profiling on IIS Express . 35 1.6.2.3 Profiling on web development server . 36 1.6.2.4 Profiling SharePoint . 37 1.6.2.4.1 Profiling SharePoint 2010 . 39 1.6.3 Profiling a Silverlight application . 40 1.6.4 Profiling a Windows service . 42 1.6.5 Profiling COMplus servers . 43 1.6.6 Profiling XBAPs . 45 1.6.7 Attaching to a process . 47 1.6.7.1 Forcing your application to use .NET 4 . 49 1.6.8 Setting up performance counters . 50 1.6.8.1 Adding custom performance counters . 52 1.6.9 Using the Visual Studio add-in . 53 1.7 Strategies for memory profiling . 54 1.7.1 Checking for large object heap fragmentation . 55 1.7.1.1 Fragmentation notices in ANTS Memory Profiler 7 . 56 1.7.2 Checking unmanaged memory usage . 57 1.7.3 Checking managed memory usage . 58 1.7.3.1 Finding out what is using most memory . 59 1.7.3.2 Finding and fixing a memory leak . 60 1.7.3.3 Checking that a memory leak is fixed . 62 1.8 Working with ANTS Memory Profiler . 63 1.8.1 Working with the timeline . 64 1.8.2 Working with the Summary tab . 66 1.8.3 Working with the Class List . 68 1.8.4 Working with the Instance Categorizer . 70 1.8.5 Working with the Instance List . 72 1.8.6 Working with the Instance Retention Graph . ..