Tip: `CLAUDE_CODE_TOOL_MEMORY_LIMIT` Puts Bash Tool Commands in a Memory Cgroup on Linux So a Runaway Build Can't Stall the Session
Claude Code Releases·medium signal
Claude Code 2.1.233 adds opt-in memory cgroup support for Bash tool commands on Linux via the `CLAUDE_CODE_TOOL_MEMORY_LIMIT` environment variable. This is the fix for the failure mode where an agent kicks off a compile or test run that balloons past available RAM and takes the whole session down with it. Set it in your project env for any repo where the agent runs untrusted or memory-hungry builds; it is off unless you configure it.