claude: stop Claude Code killing background shells under memory pressure #1508

Merged
JakeHillion merged 1 commits from jj/slnxkxqwzytp into main 2026-12-06 14:01:37 +00:00
+3
View File
@@ -19,6 +19,9 @@ let
env = {
CLAUDE_CODE_RETRY_WATCHDOG = "1";
CLAUDE_CODE_MAX_RETRIES = "1000";
# Under memory pressure Claude Code kills idle background shells, which
# frees almost nothing. Reclaiming memory is the OOM killer's job.
CLAUDE_CODE_DISABLE_BG_SHELL_PRESSURE_REAP = "1";
};
enabledPlugins = {
"rust-analyzer-lsp@claude-plugins-official" = true;