Skill / SKILL.md

Memlab Analyze Heap Snapshot

meta/memlab

Analyze JavaScript heap snapshots (.heapsnapshot files from Chrome, Edge, Node.js, Electron or React Native/Hermes) with memlab to find memory leaks, explain why objects stay in memory, and suggest fixes. Use when the user shares or mentions a heap snapshot, asks why memory or heap size keeps growing, sees an out-of-memory crash, detached DOM elements, a growing cache or listener count, or wants to compare snapshots taken before and after a change. Works through the memlab MCP server tools (memlab_*) or, without MCP, the memlab-cli command from the @memlab/mcp-server npm package.
2 views 5,096 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Analyze JavaScript heap snapshots (.heapsnapshot files from Chrome, Edge, Node.js, Electron or React Native/Hermes) with memlab to find memory leaks, explain why objects stay in memory, and suggest fixes. Use when the user shares or mentions a heap snapshot, asks why memory or heap size keeps growing, sees an out-of-memory crash, detached DOM elements, a growing cache or listener count, or wants to compare snapshots taken before and after a change. Works through the memlab MCP server tools (memlab_*) or, without MCP, the memlab-cli command from the @memlab/mcp-server npm package.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/meta/memlab' skill-source

Use the complete skill-source/plugins/memlab/skills/memlab-analyze-heap-snapshot directory with your client’s skill installer.

  • plugins/memlab/skills/memlab-analyze-heap-snapshot

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/memlab/skills/memlab-analyze-heap-snapshot

Compatibility & requirements

Declared compatibility

Requires Node.js 18+ and npx, or a global install of @memlab/mcp-server. Loading a snapshot needs free memory of several times its file size.

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
4c284917cdeaaf6aa8bc7fc28dd5fd911401c5a0a5da01324698c03f90594b21
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills