npx skills add ...
npx skills add nvidia/omniperf --skill tracy-memory
Profile CPU and GPU memory allocations using Tracy in Kit-based applications after Tracy capture tooling is installed. Covers LD_PRELOAD setup for liballocwrapper.so, Kit memory-channel flags, capture binary isolation (unset LD_PRELOAD), tracy-update strip-test verification, Tracy Memory tab analysis, and debug symbol requirements. Use when investigating memory leaks, allocation hotspots, or VRAM growth in Isaac Sim, Isaac Lab, or Kit apps. Requires profiling capture setup plus install-profilers. NOT for generic trace capture (use profiling) or non-memory trace analysis (use nsys-analyze).
npx skills add nvidia/omniperf --skill tracy-memory
Capture per-allocation CPU and GPU memory data in Tracy.
Prerequisite: Tracy capture setup (see profiling skill), install-profilers for binaries.
The omni.cpumemorytracking extension uses LD_PRELOAD to intercept malloc/free. Without it, Kit logs Failed to load library: 'liballocwrapper.so' and zero memory events are captured.
Only Kit should use the interposer. The Tracy capture binary must NOT inherit it:
Do not rely on Kit log lines alone. Verify actual memory data in the output:
Must see both lines:
If you see Failed to load library: 'liballocwrapper.so' → LD_PRELOAD path is wrong. Stop and fix before re-running.
Open in Tracy GUI → Memory tab. A successful capture shows:
If Memory tab is empty: recheck LD_PRELOAD path and cpu.memory channel setting.
?? and [unknown] ??:??? in allocation callstacks = debug symbols missing. Stripped release binaries only have addresses.
To see function names and source locations:
RelWithDebInfo or keep .debug/.pdb filesdebuginfod / Tracy's symbol path setting (Tools → Resolve symbol path)Without symbols: allocation size/count/lifetime analysis still works, but code-level attribution doesn't.
LD_PRELOAD=liballocwrapper.so → extension starts but hooks never installTRACY_USE_LIB_UNWIND_FOR_BT=1 → poor backtrace qualitycarb.memorytracking.plugin/enabled=true AND graphics.memory channel