Developer documents rescue steps for an 18MB Claude Code session
11/03/2026 — 11/03, 16:17·1 sources (all)·1 reports (all)
Key takeaways
- A developer documented how to rescue an 18MB Claude Code session that overflowed its context window and returned a 400 error on /compact: ex…
Background & analysis
On November 3, 2026, a developer posted a retrospective on Juejin about rescuing a Claude Code session that had ballooned to 18MB. Once the context overflowed and /compact began returning 400 errors, the author laid out a strict sequence of remediation steps. The first move is to exit the process, reopen the session with claude resume, and reduce the output reserve before continuing. Immediately after reopening, run /compact. If the command still fails with a 400, the developer advises proceeding to further recovery steps rather than stopping there. The author also warns against reaching for /clear first, emphasizing that the order matters. The post is presented as a practical field guide for handling oversized sessions in Claude Code, though it does not elaborate on the follow-up steps beyond the initial compact attempt. This entry was published on November 3, 2026, at 10:00. As of that date, no additional details were provided regarding whether the rescued session resumed normal operation, how many rounds of compaction were required, or what ultimately caused the 18MB session to overflow. The retrospective serves as a useful reference for developers encountering similar context-overflow issues with Claude Code, offering a concrete starting point for troubleshooting.
AI-generated from 1 reports · updated 4 hours ago
Related AI tools
- Heat index
- 75
- All sources
- 1
- All reports
- 1
- First seen
- 10 hours ago
Reports on this story headlines open the original
A developer walks through recovering an 18MB Claude Code session that overflowed its context and returned a 400 error on /compact. The order given: quit the process, reopen with claude resume and a smaller output reservation, run /compact immediately, then move on to further steps only if the 400 persists.
掘金AI score 53
Other stories people are talking about
- Heat index 63Developer recounts pitfalls of submitting a plugin to Anthropic's directory1 sources
- Heat index 75Developer tests six Claude Code setups, from $0.02 to $0.69 per task1 sources
- Heat index 63Goldman Sachs revokes Claude Code and Copilot access for non-engineers1 sources
- Heat index 92NewUsing Screenshots and Playwright to Fix UI Bugs with Claude Code1 sources
- Heat index 248SurgeAnthropic tightens Claude Code to block cloning and reverse engineering of existing games4 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

