checked on 18 Nov 2026
valid until 18 Dec 2026not rechecked since 18 Dec 2026
The ECONNRESET workaround is an auto-compact window of 150K; it does not rescue sessions that are already too large.
In the source's words
keeps new sessions under the failing size. It doesn't help sessions that are already too large; those have to be abandoned
Card
When to compact a Claude Code session with a 1M window, and where the unanswered messages come from
Address
stacks.jakubdudek.com/claude-code-compaction-and-stalls/c8
In a document: [[claude-code-compaction-and-stalls#c8]]
JSON