running more than 4 agents in background generate a "Context low · Run /compact to compact & continue" error that cannot be recovered from.

Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Dec 11, 2025 · closed Dec 11, 2025

Bug Description

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.0.65
  • Feedback ID: f92f362c-3382-4d76-94f5-8addb98f91cc

Errors

[{"error":"MaxFileReadTokenExceededError: File content (52409 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at OUE (/$bunfs/root/claude:1371:10587)\n    at async call (/$bunfs/root/claude:1380:972)\n    at async HHf (/$bunfs/root/claude:2898:24938)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T10:58:58.401Z"},{"error":"MaxFileReadTokenExceededError: File content (51374 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at OUE (/$bunfs/root/claude:1371:10587)\n    at async call (/$bunfs/root/claude:1380:972)\n    at async HHf (/$bunfs/root/claude:2898:24938)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T10:58:58.430Z"},{"error":"MaxFileReadTokenExceededError: File content (48783 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at OUE (/$bunfs/root/claude:1371:10587)\n    at async call (/$bunfs/root/claude:1380:972)\n    at async HHf (/$bunfs/root/claude:2898:24938)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T10:58:58.492Z"},{"error":"MaxFileReadTokenExceededError: File content (51878 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at OUE (/$bunfs/root/claude:1371:10587)\n    at async call (/$bunfs/root/claude:1380:972)\n    at async HHf (/$bunfs/root/claude:2898:24938)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T10:58:58.495Z"},{"error":"MaxFileReadTokenExceededError: File content (51374 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at OUE (/$bunfs/root/claude:1371:10587)\n    at async call (/$bunfs/root/claude:1380:972)\n    at async HHf (/$bunfs/root/claude:2898:24938)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T10:59:55.594Z"},{"error":"MaxFileReadTokenExceededError: File content (51878 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at OUE (/$bunfs/root/claude:1371:10587)\n    at async call (/$bunfs/root/claude:1380:972)\n    at async HHf (/$bunfs/root/claude:2898:24938)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T10:59:56.398Z"},{"error":"MaxFileReadTokenExceededError: File content (48783 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at OUE (/$bunfs/root/claude:1371:10587)\n    at async call (/$bunfs/root/claude:1380:972)\n    at async HHf (/$bunfs/root/claude:2898:24938)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T10:59:57.125Z"},{"error":"MaxFileReadTokenExceededError: File content (52409 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at OUE (/$bunfs/root/claude:1371:10587)\n    at async call (/$bunfs/root/claude:1380:972)\n    at async HHf (/$bunfs/root/claude:2898:24938)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T10:59:58.129Z"},{"error":"MaxFileReadTokenExceededError: File content (26995 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at OUE (/$bunfs/root/claude:1371:10587)\n    at async call (/$bunfs/root/claude:1380:972)\n    at async HHf (/$bunfs/root/claude:2898:24938)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T11:00:05.581Z"},{"error":"MaxFileReadTokenExceededError: File content (48783 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at OUE (/$bunfs/root/claude:1371:10587)\n    at async call (/$bunfs/root/claude:1380:972)\n    at async <anonymous> (/$bunfs/root/claude:1570:1511)\n    at processTicksAndRejections (native:7:3

Note: Error logs were truncated.

View original on GitHub ↗

4 Comments

waemm · 10 months ago

this is the second time i get this error since I have updated
these failures have eaten up 50% of my limits because the failure occurs as the results are being returned it seems
please fix this.
:

⏺ 4 agents launched in parallel for chunks 5-8. Waiting for results...

⏺ Task Output a22f2cb
⎿  Read output (ctrl+o to expand)

⏺ Task Output a8b1f0e
⎿  Read output (ctrl+o to expand)

⏺ Task Output a23f659
⎿  Read output (ctrl+o to expand)

⏺ Task Output a4ec8b4
⎿  Read output (ctrl+o to expand)
⎿  Context low · Run /compact to compact & continue

contine

⎿  Context low · Run /compact to compact & continue

/feedback

⎿  Feedback / bug report submitted

/compact

⎿  Error: Error during compaction: Error: Conversation too long. Press esc twice to go up a few messages and try again.

github-actions[bot] · 10 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/12517
  2. https://github.com/anthropics/claude-code/issues/2038
  3. https://github.com/anthropics/claude-code/issues/13302

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

waemm · 10 months ago
github-actions[bot] · 10 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.