User Guide

Contents

memory-consumption
Command Line Analysis

Use the Memory Consumption analysis for your Linux* native or Python* targets to explore memory consumption (RAM) over time and identify memory objects allocated and released during the analysis run.
During Memory Consumption analysis, the
VTune
Profiler
data collector intercepts memory allocation and deallocation events and captures a call sequence (stack) for each allocation event (for deallocation, only a function that released the memory is captured).

Syntax

vtune
-collect memory-consumption [-knob <
knobName=knobValue
>] [--] <
target
>
For the most current information on available knobs (configuration options) for the Memory Consumption analysis, enter:
vtune
-help collect memory-consumption
Example
This example shows how to run the Memory Consumption analysis on a Python
test
application:
vtune
-collect memory-consumption -app-working-dir /usr/bin -- python /localdisk/sample/test.py

What's Next

When the data collection is complete, do one of the following to view the result:

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804