hammer-memory-profiler
CommunityDetect memory leaks & optimize allocations, instantly.
Software Engineering#performance#C++#game engine#Valgrind#memory profiling#leak detection#AddressSanitizer
AuthorRonin15
Version1.0.0
Installs0
System Documentation
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.
Dependency Matrix
Required Modules
valgrindpython3cmakeninja
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: hammer-memory-profiler Download link: https://github.com/Ronin15/SDL3_HammerEngine_Template/archive/main.zip#hammer-memory-profiler Please download this .zip file, extract it, and install it in the .claude/skills/ directory.