codex spark constantly triggers "Error running remote compact task: Codex ran out of room in the model's context window. Start a new thread or clear earlier history before retrying." even on fresh session
Open 💬 2 comments Opened Aug 7, 2026 by ckreisch
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
26.805.11740
What subscription do you have?
pro
What platform is your computer?
Darwin 24.6.0 arm64 arm
What issue are you seeing?
Model: codex spark
Error: "Error running remote compact task: Codex ran out of room in the model's context window. Start a new thread or clear earlier history before retrying."
What steps can reproduce the bug?
Context: started using spark since was low on usage for other models. Initial session with spark was able to accomplish a task. Further requests yielded the above error. I started a fresh session and the above error occurs immediately without anything succeeding.
What is the expected behavior?
No error.
Additional information
Have plenty of spark usage left. Yesterday had no issues.
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
try use /feedback inside the thread/chat it happen