memory-tracer

This tracer provides an easy way to track memory allocations over time in a pipeline.

Example:

Log GstMemory allocation releases into the tmp.memory.csv file

# Dropping allocation query so we can see both the GLMemory and the SystemMemory on the graph

$ GST_TRACERS="memory-tracer(file=tmp.memory.cvs)" gst-launch-1.0 videotestsrc num-buffers=30 ! identity drop-allocation=true ! glimagesink

lot memory usage per type

python3 utils/tracers/scripts/memory_usage.py tmp.memory.cvs

Result

The results of the search are