Sign inGet started
–

heap-snapshot-analysis

by microsoft/vscode · Coding & Development

Parses and compares V8 heap snapshot files to find memory leaks, object deltas, and retainer paths.

Lift · GLM-5.3-flash−13ppdirectional · all models →
89
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
LicenseMITserved via MCP

What it does

Analyze V8 heap snapshots to investigate memory leaks and retention issues. Use when given .heapsnapshot files, asked to compare before/after snapshots, asked to find what retains objects, or investigating why objects survive GC. Provides snapshot parsing, comparison, retainer-path helpers, and scratchpad scripts.

#debugging#heap-snapshots#memory-leaks#nodejs#v8

Quality judgment

completeness
9.0/10
clarity
8.5/10
trigger quality
9.0/10
examples
8.0/10
structure
9.0/10
overall
9.0/10

A deep, battle-tested skill: clear triggers, concrete helper APIs, format internals, streaming fallbacks for >2GiB files, scratchpad conventions, and domain-specific retention patterns with caveats. Minor deductions for VS Code-specific patterns that may not generalize and reliance on helper files not shown.

Files (8)

helpers/compareSnapshots.ts · 6.0 KBhelpers/findRetainers.ts · 4.8 KBhelpers/parseSnapshot.ts · 7.4 KBhelpers/streamSnapshot.mjs · 6.8 KBLICENSE · 1.1 KBscratchpad/.gitignore · 0.0 KBscratchpad/README.md · 0.8 KBSKILL.md · 11.5 KB