Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

Heap diagnostics report memory correctly on Bun

The memory report attached to a heap snapshot now has its own breakdown when Claude Code runs on Bun

You'll notice Bug Fixes
JSON All of v2.1.281
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
DiagnosticsArea: what it touches
Bug FixesKind: in v2.1.281,
Bug FixesSection of the release
What

A heap snapshot is a dump of the memory used by a running JavaScript program. The memory report that accompanies one now has a separate layout for Bun, one of the JavaScript runtimes Claude Code can run on. On Bun the report:

  • Reports the JS heap as heapUsed
  • Lists strings and buffers as "part of the JS heap, in snapshot"
  • Adds a line for memory "outside the heap"

The breakdown shown on Node (array buffers, other external, unaccounted) is unchanged.

Why

Memory figures in these diagnostics now match how Bun lays out its memory, so a report taken on Bun is easier to read correctly.

See this entry in the whole of v2.1.281 →

Feedback