A newer version of this document is available. Customers should click here to go to the newest version.
- Configure Yocto Project*/Wind River* Linux* and Intel® VTune™ Profiler with the Intel System Studio Integration Layer
<span class='codeph'>memory-consumption</span> 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).
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
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
When the data collection is complete, do one of the following to view the result:
Use the -report action to view the data from command line.
Use the -report-output action to write report to a .txt or .csv file
Open the data collection result (*.vtune) in the VTune Profiler graphical interface.
Did you find the information on this page useful?