User Manual

Automatic Memory Analysis

Whenever a new snapshot comparison has been performed, e.g., after collecting a snapshot or changing the selected or comparison snapshot, .NET Memory Profiler will start analysing the memory data. As soon as the analysis is finished, any found issues will be presented in info panels under the Types/Resources page, the Type details page, and the Instance details page. An example of summary issues presented in the info panel under the Types/Resources page can be seen below.

Description: C:\Users\Andreas\AppData\Local\Temp\SNAGHTMLd45caf1.PNG

The issues presented provide warnings, suggestions, and information about common memory usage problems. The severity of an issue is defined using the following levels:

      Description: SeriousWarning-256.png Serious warning

A serious warning indicates an issue that could, with a high probability, cause memory usage problems, such as memory or resource leaks.

      Warning

A warning indicates an issue that could cause memory usage problems, such as memory or resource leaks.

      Description: MinorWarning-256.png Minor warning

A minor warning indicates an issue that could cause bad memory or resource utilization, but it should not cause problems like memory leaks.

      Description: IndirectWarning-256.png Indirect warning

An indirect warning indicates an issue that is caused by another warning issue. The issue will contain information about the issue that causes the direct warning.

      Description: Suggestion-256.png Suggestion

A suggestion indicates an issue that, similar to the minor warning, could cause bad memory or resource utilization.

      Information

The information level indicates issues that provide information about memory usage, but they are not directly related to a memory usage problem.

An issue can be related to a specific instance (e.g. a potential memory leak), a specific type (e.g. a type with undisposed instances), or the full snapshot memory data (e.g. a summary of the total ASP.NET cache usage).

NOTE! Only managed data is analysed for memory issues. Currently, there is no automatic analysis for native memory and resources.

More:

Issue Presentation

Ignoring Analysis Issues

Modifying Ignored Issues

Analysis Issues List

Disposable Types Classification and Undisposed Instances

Ignoring Framework Issues