{"name":"CLAUDE_CODE_TOOL_MEMORY_CGROUP_EXCLUDE","slug":"claude-code-tool-memory-cgroup-exclude","family":"env","title":"Environment variables","noun":"environment variable","description":"Memory limits now reach npm, git, tmux, LSP, MCP and hooks, but everything except Bash is excluded.","description_source":"entry","described_by":{"version":"2.1.246","anchor":"per-class-memory-caps-on-spawned-processes-wired-through-but"},"presence":{"first_seen":"2.1.246","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":54,"mined_builds":150,"first_cited":{"version":"2.1.246","released_at":"2026-08-25 19:17:34","spans":1}},"aliases":[],"entries":[{"version":"2.1.246","anchor":"per-class-memory-caps-on-spawned-processes-wired-through-but","heading":"Per-class memory caps on spawned processes, wired through but off for everything except Bash","line":"Memory limits now reach npm, git, tmux, LSP, MCP and hooks, but everything except Bash is excluded.","released_at":"2026-08-25 19:17:34","reason":"named in this entry, found in this entry's text"},{"version":"2.1.246","anchor":"tool-subprocesses-can-be-launched-inside-a-memory-capped-cgr","heading":"Tool subprocesses can be launched inside a memory-capped cgroup","line":"MCP servers, hooks, plugin installs and tmux sessions can run under a memory cap, dark-launched here.","released_at":"2026-08-25 19:17:34","reason":"named in this entry, found in this entry's text"}],"entries_total":2,"docs":[{"source":"claude-code","path":"tools-reference","title":"Tools reference","documented":false}],"docs_total":1,"gates":[],"related":[{"name":"CLAUDE_CODE_TOOL_MEMORY_LIMIT","slug":"claude-code-tool-memory-limit","description":"On Linux you can cap memory for shell commands so a runaway process cannot eat your machine."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-tool-memory-cgroup-exclude","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}