memdump

Analyze NuttX/Vela memdump logs to quantify heap usage and detect leaks.

5|5|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/open-vela/.claude --skill memdump
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memdump
Source: https://github.com/open-vela/.claude/tree/main/skills/memdump
Command: npx skills add https://github.com/open-vela/.claude --skill memdump

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

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.

Frequently Asked Questions about memdump

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect memory leaks from NuttX memdump logs in embedded systems?

You can detect memory leaks from NuttX memdump logs by running the analysis script to perform backtrace grouping and per-task memory aggregation, identifying high-consumption modules and allocation hotspots over time.

What is the best way to analyze heap usage across multiple cores in a Vela system?

Analyzing heap usage across multiple cores in a Vela system involves parsing memdump logs to provide per-core analysis and task mapping, allowing you to quantify total memory and isolate leaks for specific core allocations.

How do I translate addresses in a memdump backtrace into function names?

To translate addresses in a memdump backtrace into function names, you can use the optional ELF-backed symbolication feature, which utilizes addr2line to resolve raw memory addresses into readable source code symbols.

Can I export embedded heap memory analysis results for automated dashboards?

Yes, you can export embedded heap memory analysis results for automated dashboards by utilizing the JSON export feature, which formats per-task aggregation and backtrace grouping data for downstream automation pipelines.

Does this heap memory analysis support comparing memory footprints across firmware versions?

Yes, this heap memory analysis supports cross-version comparisons of memory footprints, allowing developers to track allocations over time and validate RAM usage optimizations across different firmware iterations.