
Memory Leak Debugging
Diagnoses JavaScript and Node.js memory leaks by comparing heap snapshots through Chrome DevTools MCP memory tools.
- skills.sh installs
- 3.7K
- GitHub stars
- 58.8K
- last updated
- Aug 21, 2026
What it does
- Covers the leak workflow: capturing baseline, target, and final heap snapshots, comparing them, then inspecting retainers and dominator chains
- Includes categorized filters for detached DOM nodes, event-handler retention, closure-retained contexts, and console-retained objects
- Enforces working from MCP summaries rather than reading raw
.heapsnapshotfiles, and closing each loaded snapshot withclose_heapsnapshot - Requires the server to run with
--memoryDebuggingfor advanced snapshot tools, and asks before nulling intentional detached-DOM caches
Install
$ npx -y skills add chromedevtools/chrome-devtools-mcp --skill memory-leak-debugging -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Memory Leak Debugging
This skill provides expert guidance and workflows for finding, diagnosing, and fixing memory leaks in JavaScript and Node.js applications using Chrome DevTools MCP tools.
Prerequisites
Advanced memory debugging tools (compare_heapsnapshots, get_heapsnapshot_details, etc.) are only available when the server is started with the --memoryDebugging flag. First check if these tools are available; if not, try to read the MCP configuration file to check if --memoryDebugging is enabled.
Core Principles
Details
- Repository
- github.com/chromedevtools/chrome-devtools-mcp
- Categories
- Debugging, Frontend & UI Code
- First seen
- Jun 3, 2026
More from chromedevtools/chrome-devtools-mcp
All 6Similar to Memory Leak Debugging
More Debugging
memory-leak-detectionSkillaj-geddes/useful-ai-prompts592 installsDetects memory leaks in Node.js and Python using heap snapshots, profiling, and production monitoring.
memlabPluginmeta/memlab5.1K starsFind and fix JavaScript memory leaks with memlab: analyze heap snapshots through the memlab MCP server, write and run browser leak scenarios, capture heap snaps
memory-optimizationSkillaj-geddes/useful-ai-prompts554 installsGuide for profiling and fixing application memory use, leaks, and out-of-memory crashes.
Chrome DevTools MCPMCP serverchromedevtools58.8K starsLets coding agents control and inspect a live Chrome browser through DevTools tools.
chrome-devtoolsSkillchromedevtools/chrome-devtools-mcp9.4K installsUses Chrome DevTools via MCP to debug pages, automate browser interactions, and inspect performance and network traffic.
valgrindSkillmohitmishra786/low-level-dev-skills783 installsValgrind skill for Memcheck memory error detection, plus Cachegrind, Callgrind, and Massif profiling.