Intel® Inspector Help
Intel Inspector distinguishes among Memory leak, Memory not deallocated, and Memory growth problem types in the following manner:
Memory leak problems occur when a block of memory is allocated, never deallocated, and not reachable (there is no pointer available to deallocate the block). Severity level =
(Error).
Memory not deallocated problems occur when a block of memory is allocated, never deallocated, but still reachable at application exit (there is a pointer available to deallocate the block). Severity level =
(Warning).
Memory growth problems occur when a block of memory is allocated, but not deallocated, within a specific time segment during application execution. Severity level =
(Warning).
Intel Inspector can measure memory growth to help you ensure an application uses no more memory than expected. This includes:
Memory an application has allocated and still needs for future calculations
Memory an application has allocated and no longer needs, but has not deallocated
Memory an application has allocated and then leaked
Intel Inspector does not perform a reachability analysis on detected Memory growth problems.
To measure memory growth:
Prerequisites:
Select the Enable memory growth detection checkbox when configuring a memory error analysis.
Run the memory error analysis.
Steps:
For more precision, consider using the GUI-based memory growth detection commands in tandem with APIs for custom memory allocation.