Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

New variable keeps a memory-cleanup timer setting to one process

Setting CLAUDE_CODE_GC_TIMER_FOR_THIS_PROCESS stops BUN_GC_TIMER_INTERVAL being passed on to programs Claude Code starts

Use it now Notable New Features
JSON All of v2.1.333
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Environment VariablesArea: what it touches
New FeaturesKind: in v2.1.333,
What probably matters to youSection of the release
What

Claude Code now reads a new environment variable (a setting passed to a program from your shell), CLAUDE_CODE_GC_TIMER_FOR_THIS_PROCESS. When it is set, Claude Code removes both BUN_GC_TIMER_INTERVAL (which controls how often automatic memory cleanup runs) and the new variable itself from the environment it hands to programs it starts. Those programs therefore do not inherit the setting.

The same change also fixes two values in Claude Code's usage data, a purge delay and whether the collection timer is off, which had been recorded in each other's place.

Why

A memory-cleanup timer setting meant for Claude Code no longer leaks into the commands and tools it runs, and the related usage figures are now recorded correctly.

See this entry in the whole of v2.1.333 →

Feedback