Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.71 ·

Heap Dump and Memory Diagnostics

Entry
JSON All of v2.1.71
EntryKind: in v2.1.71,
ChangesSection of the release
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 .heapsnapshot files to ~/Desktop for analysis
  • Generates a -diagnostics.json file 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.

See this entry in the whole of v2.1.71 →

Feedback