[Bug] Image context handling causes premature context limit exceeded errors
Resolved 💬 3 comments Opened Feb 14, 2026 by ahmed-abdat Closed Feb 18, 2026
Bug Description
when i try to add image to the context it reach context limit it happend a lot i dont know why
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.42
- Feedback ID: bdcaf76d-35e9-4a34-b4ea-b2fc3a103d03
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/ahmede/.local/share/claude/versions/2.1.42 (expected in multi-process scenarios)\n at ZwR (/$bunfs/root/claude:3483:2098)\n at ESA (/$bunfs/root/claude:3483:1209)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-14T21:16:41.233Z"},{"error":"MaxFileReadTokenExceededError: File content (46531 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 Gz_ (/$bunfs/root/claude:1300:7592)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-14T21:18:34.953Z"},{"error":"MaxFileReadTokenExceededError: File content (46531 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 Gz_ (/$bunfs/root/claude:1300:7592)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-14T21:18:43.590Z"},{"error":"Error: Conversation too long. Press esc twice to go up a few messages and try again.\n at bET (/$bunfs/root/claude:3159:939)\n at async QyB (/$bunfs/root/claude:3244:2545)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-14T21:29:20.193Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗