What's wrong with this entry?
Anonymous. No account, no email.
What
A new diagnostic tool for dumping the JS heap and analyzing memory usage, useful for debugging memory leaks in long-running Claude Code sessions.
Details
- Writes
.heapsnapshotfiles to~/Desktopfor analysis - Generates a
-diagnostics.jsonfile with memory state information - Reports heap used, RSS, external memory, and total process memory
- Detects potential leak indicators: high memory growth rate, active handles (timer/socket leaks), open file descriptors (file/socket leaks), detached contexts (iframe/context leaks)
- Distinguishes between native memory leaks vs heap leaks
- Available through a diagnostic command
Evidence
Heap dump output (search for "[HeapDump] Heap dump written to")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.