What problem does it solve?
This Skill analyzes heap memory usage from NuttX/Vela memdump logs to detect memory leaks, identify high-consumption modules, and compare memory footprints across firmware versions. It helps developers diagnose memory-related issues in embedded systems and optimize RAM usage by tracking allocations over time.
Core Features & Use Cases
- Per-task memory aggregation and total memory calculation
- Backtrace-based leakage detection and hotspot identification
- Multi-core support with per-core analysis and task mapping
- Optional ELF-backed symbolication using addr2line
- JSON export for automation and dashboards
- Use cases include startup memory profiling, event-driven memory changes, and cross-version comparisons to validate optimizations.
Quick Start
Run memdump_quick.py on your memdump log to diagnose the format, generate initial memory statistics, and identify target processes for deeper analysis.