heap-snapshot-analysis
CommunityFind memory leaks in heap snapshots.
AuthorTHRISHAL12345
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you investigate memory leaks and retention issues by analyzing V8 heap snapshots, so you can understand why objects survive garbage collection and what is keeping them alive.
Core Features & Use Cases
- Snapshot parsing: Loads large
.heapsnapshotfiles and extracts nodes, edges, strings, and metadata for analysis. - Before/after comparison: Diffs two snapshots to identify object groups that grew in size or count after a change.
- Retainer-path tracing: Follows non-weak references back to GC roots to reveal the objects and closures preventing collection.
- Use case: Compare a snapshot taken before a feature runs with one taken after repeated use to pinpoint the class or cache responsible for retained memory.
Quick Start
Analyze the provided heap snapshot files to find the objects most responsible for retained memory and explain the retainer paths keeping them alive.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferencesassets
💻 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: heap-snapshot-analysis Download link: https://github.com/THRISHAL12345/Project_X/archive/main.zip#heap-snapshot-analysis Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 545,000+ vetted skills library on demand.