Memory Problems view

Use this view to show any memory leaks and errors in your program found by memory analysis tooling. The following are some of the problems that can appear in the Memory Problems view:


The following example shows some typical memory problems that you might encounter using the Memory Problems view.

Memory Problems view

For a description about the error message text, and for more information about the particular error, see Summary of error messages for Memory Analysis. For information about the general error categories, why the errors occur, and how to fix them, see Interpreting errors during memory analysis .

To show the problems, click on session or session element (such as a thread, file, and so on) from the Session View (see Managing Memory Analysis sessions: The Session view), or activate the memory analysis editor (see Memory Analysis editor).

The Memory Problems view provides the following columns in the problems table (not all columns are present by default, you can select columns using the view preferences):

Type Description
Severity LEAK or ERROR with corresponding icon.
Description An Error message.
Pointer A pointer is involved in the error or leak.
Tid The thread ID of the thread that was running in which and error was detected.
Pid The process ID.
Binary The binary for the top frame of a backtrace.
Location The source location (file:line) for the top frame of a backtrace.
Timestamp The library timestamp (can be wrapped data).
Event id A unique event ID, ordered by error occurrence.
Trap Function A function that was checked when an error is detected.
Alloc Kind (prev. Operation) A type of heap allocation involved in an error.
Count When grouped, it represents a count of the grouped errors.
State - "in use" - pointer is used, "freed" The pointer is freed.

The Memory Analysis view provides the following functionality and features:


View action bar
Memory Problems view context menu
Related concepts
Memory Analysis editor
Memory Events view
Memory Backtrace view
Interpreting errors during memory analysis
Related tasks
Inspecting outstanding allocations