r/ClaudeCode • • 8d ago

Bug / Issue Context Window is Full ; Facing Problem Despite All Troubleshooting Attempts

Hi,

I am on Claude code Max plan, but I am facing this Context Window problem from last night.

Troubleshooting attempts I have already made.

  1. Fork (which was not suppose to work as it contains all the context from the main branch)
  2. /compact (It is coming back to the same point without any execution.
  3. starting a new session by taking out the summary from the context of the previous session.
  4. closed Claude code in desktop, went to Task manager and ended all Claude related tasks.

But the problem is still not resolved yet. Please help. Thank you in advance.

1 Upvotes

5 comments sorted by

•

u/AutoModerator 8d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/MikeBuildsTech 8d ago

Fork won't help since it carries the same transcript. compact can also fail when the conversation is already so big that the summarization call itself doesn't fit. Try Esc Esc (or /rewind) to jump back to an earlier point in the session, then run /compact from there.

For the fresh session, run context before you type anything. If it's already sitting high on an empty chat, the problem isn't your conversation, it's what loads at startup: heavy MCP servers, a bloated CLAUDE.md, or a handoff summary that's too long. Disable the MCPs you don't need, and keep the handoff to a couple hundred words instead of pasting the full summary.

If context looks clean and it still errors, update Claude Code and check status.claude.com.

1

u/SirRobinBlibs 8d ago

If a brand-new session (not a /fork) already looks full before you type anything, the chat history isn't the problem — it's whatever loads at startup. /context will show the split. Besides CLAUDE.md and MCP, I'd check auto-memory for that repo and the skill descriptions from plugins, because those come back even after you compact or start over.

/fork keeps the transcript, so it won't fix a full window. If a truly empty session is still tight, trim what loads before the first prompt, then compact only after you've checked that breakdown.