{"name":"tengu_tool_memory_cgroup","slug":"tengu-tool-memory-cgroup","family":"flag","title":"Feature flags","noun":"feature flag","description":"On Linux you can cap memory for shell commands so a runaway process cannot eat your machine.","description_source":"entry","described_by":{"version":"2.1.233","anchor":"bash-and-powershell-tools-can-run-under-a-memory-limit-on-li"},"presence":{"first_seen":"2.1.233","removed_in":"2.1.246","in_current_build":false,"newest_mined":"2.1.308","builds":12,"mined_builds":149,"first_cited":{"version":"2.1.246","released_at":"2026-08-25 19:17:34","spans":1}},"aliases":[],"entries":[{"version":"2.1.295","anchor":"tool-memory-cgroup-skipped-when-ks-is-true","heading":"Memory limit for tool commands is skipped in a certain mode","line":"In a certain mode, Claude Code now skips setting up the memory limit it can place on commands run by tools","released_at":"2026-10-08 18:22:58","reason":"gate cited by this entry"},{"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":"gate cited by this entry, found in this entry's text"},{"version":"2.1.246","anchor":"tool-memory-cgroups-reworked-still-off-unless-turned-on","heading":"Tool memory cgroups reworked, still off unless turned on","line":"Memory caps on processes Claude starts were rebuilt but stay off unless you set the limit variable.","released_at":"2026-08-25 19:17:34","reason":"gate cited by this entry, found in this entry's text"},{"version":"2.1.239","anchor":"per-tool-memory-limits-detect-an-outer-cgroup-already-in-pla","heading":"Per-tool memory limits detect an outer cgroup already in place","line":"On Linux, a tool already inside another tool's memory group is reported as nested instead of double-limited.","released_at":"2026-08-21 17:18:54","reason":"gate cited by this entry, found in this entry's text"},{"version":"2.1.233","anchor":"bash-and-powershell-tools-can-run-under-a-memory-limit-on-li","heading":"Bash and PowerShell tools can run under a memory limit on Linux","line":"On Linux you can cap memory for shell commands so a runaway process cannot eat your machine.","released_at":"2026-08-14 18:50:44","reason":"gate cited by this entry, found in this entry's text"}],"entries_total":5,"docs":[],"docs_total":0,"gates":[{"version":"2.1.295","state":"off","account":false,"baseline":false,"code_default":null},{"version":"2.1.246","state":"off","account":false,"baseline":false,"code_default":null},{"version":"2.1.239","state":"off","account":false,"baseline":false,"code_default":false},{"version":"2.1.233","state":"off","account":false,"baseline":false,"code_default":false}],"related":[{"name":"tengu_tool_cgroup","slug":"tengu-tool-cgroup","description":"On Linux you can cap memory for shell commands so a runaway process cannot eat your machine."},{"name":"tengu_tool_cgroup_exclude_classes","slug":"tengu-tool-cgroup-exclude-classes","description":"Memory limits now reach npm, git, tmux, LSP, MCP and hooks, but everything except Bash is excluded."},{"name":"tengu_tool_cpu_by_phase","slug":"tengu-tool-cpu-by-phase","description":"Remote sessions now report per-phase CPU usage split between CLI and tool subprocesses."},{"name":"tengu_tool_detach","slug":"tengu-tool-detach","description":"A long-running tool call can now be moved to the background instead of blocking when a new message comes in"},{"name":"tengu_tool_pear","slug":"tengu-tool-pear","description":"A new capability gate tied to the opus_5_5_prompt_bundle flag can unlock certain model features, and a tool_pear beta header now depends on a flag not yet read for this account"},{"name":"tengu_tool_result_dedup","slug":"tengu-tool-result-dedup","description":null},{"name":"tengu_tool_result_pairing_repaired","slug":"tengu-tool-result-pairing-repaired","description":"Tool-result repair now detects and reports 'misplaced' tool results in debug output"},{"name":"tengu_tool_result_persistence","slug":"tengu-tool-result-persistence","description":null},{"name":"tengu_tool_schema_sizes","slug":"tengu-tool-schema-sizes","description":"A new event breaks down tool schema sizes by category, deduplicated and capped at 512 hashes."},{"name":"tengu_tool_search_mode_decision","slug":"tengu-tool-search-mode-decision","description":"An analytics event, not a feature flag. Claude Code logs it when it decides whether tool search is enabled for a request, from the main query path and from compaction. Fields include `enabled`, `mode`, `reason` (for example `model_unsupported` or `no_tools_in_request`), `checkedModel`, `mcpToolCount` and `mcpNonBlocking`."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/flag\/tengu-tool-memory-cgroup","family_url":"https:\/\/changelogs.core-directive.com\/reference\/flag.json"}