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 Amplifier 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).


$ amplxe-cl -collect memory-consumption [-knob <knobName=knobValue>] [--] <target>

Knobs: mem-object-size-min-thres.


For the most current information on available knobs (configuration options) for the Memory Consumption analysis, enter:

$ amplxe-cl -help collect memory-consumption


This example shows how to run the Memory Consumption analysis on a Python test application:

> amplxe-cl -collect memory-consumption -app-working-dir /usr/bin -- python /localdisk/sample/

What's Next

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

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.
Seleccione el color del botón adhesivo: 
Orange (only for download buttons)