What problem does it solve?
Memory leaks, excessive allocations, and inefficient buffer usage can severely degrade game engine performance and stability, leading to crashes and frame drops that are hard to diagnose manually. This Skill automates comprehensive memory analysis.
Core Features & Use Cases
- Leak & Error Detection: Uses Valgrind Memcheck and AddressSanitizer to find memory leaks, invalid reads/writes, use-after-free errors, and double-frees.
- Allocation Hotspot Profiling: Identifies per-frame allocations and buffer reuse anti-patterns that cause performance spikes, providing actionable optimization recommendations.
- Comprehensive Reporting: Generates detailed Markdown reports with statistical analysis, optimization suggestions, and baseline comparisons to track memory usage trends over time.
- Use Case: After implementing a new particle system, run a "Full Memory Profile" to ensure no new leaks were introduced, identify any per-frame allocations, and verify buffer reuse patterns, preventing performance regressions.
Quick Start
Profile memory usage for the AI system using a quick leak check.