Browser Memory Leak Hunt

Find and fix a memory leak in a long-lived browser page: confirm the growth is JavaScript heap or DOM rather than images or GPU, run the three-snapshot technique (warm up, snapshot, repeat the action ten times, snapshot, repeat, snapshot) keeping only objects allocated between the first two snapshots that survive into the third, read retainer chains for detached DOM nodes, listeners, closures, timers and observers, and confirm the fix as a flat sawtooth after forced garbage collection. Use when someone says "the tab grows to 2GB", "the dashboard crashes after a day open", "Aw, Snap out of memory", "detached DOM nodes in the heap snapshot" or "memory climbs every time I open the modal". Not for slow code with stable memory (profiling), a server process that leaks (debugging), or poor field vitals (web-vitals-triage).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 0367900a04

Frequently asked questions

npx get-skill add greenblacked/browser-memory-leak-hunt