[Bug] Context window exhausted in new session
Resolved 💬 4 comments Opened Nov 24, 2025 by tylerlaprade Closed Dec 26, 2025
Bug Description
Ran out of context in a brand new session
<img width="472" height="671" alt="Image" src="https://github.com/user-attachments/assets/20aa4a4d-39fc-4121-8bbe-9be48a8b9f3a" />
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 2.0.51
- Feedback ID: f385ef98-f468-411c-b7dc-3cb977353015
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/tyler/.local/share/claude/versions/2.0.51 (expected in multi-process scenarios)\n at ML0 (/$bunfs/root/claude:2641:1622)\n at $6A (/$bunfs/root/claude:2641:1300)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-24T20:24:52.504Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/tyler/.local/share/claude/versions/2.0.51 (expected in multi-process scenarios)\n at ML0 (/$bunfs/root/claude:2641:1622)\n at B6A (/$bunfs/root/claude:2639:12709)\n at async X97 (/$bunfs/root/claude:2639:13911)\n at async Ox (/$bunfs/root/claude:2641:236)\n at async <anonymous> (/$bunfs/root/claude:2641:12469)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-24T20:25:00.340Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/tyler/.local/share/claude/versions/2.0.51 (expected in multi-process scenarios)\n at ML0 (/$bunfs/root/claude:2641:1622)\n at B6A (/$bunfs/root/claude:2639:12709)\n at async X97 (/$bunfs/root/claude:2639:13911)\n at async Ox (/$bunfs/root/claude:2641:236)\n at async <anonymous> (/$bunfs/root/claude:2641:12469)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-24T20:26:48.234Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/tyler/.local/share/claude/versions/2.0.51 (expected in multi-process scenarios)\n at ML0 (/$bunfs/root/claude:2641:1622)\n at B6A (/$bunfs/root/claude:2639:12709)\n at async X97 (/$bunfs/root/claude:2639:13911)\n at async Ox (/$bunfs/root/claude:2641:236)\n at async <anonymous> (/$bunfs/root/claude:2641:12469)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-24T20:27:02.396Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 207882 tokens > 200000 maximum\"},\"request_id\":\"req_011CVTLySUUahnRAXXfECNgM\"}\n at generate (/$bunfs/root/claude:353:36491)\n at makeRequest (/$bunfs/root/claude:1266:5434)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-24T20:28:11.378Z"},{"error":"SyntaxError: JSON Parse error: Expected '}'\n at <parse> (:0)\n at parse (unknown)\n at <anonymous> (/$bunfs/root/claude:77:729)\n at A (/$bunfs/root/claude:11:6606)\n at XiB (/$bunfs/root/claude:1414:2201)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-24T20:28:11.379Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 201278 tokens > 200000 maximum\"},\"request_id\":\"req_011CVTLywg9Wyqb9YtZqdtDU\"}\n at generate (/$bunfs/root/claude:353:36491)\n at makeRequest (/$bunfs/root/claude:1266:5434)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-24T20:28:18.249Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/tyler/.local/share/claude/versions/2.0.51 (expected in multi-process scenarios)\n at ML0 (/$bunfs/root/claude:2641:1622)\n at B6A (/$bunfs/root/claude:2639:12709)\n at async X97 (/$bunfs/root/claude:2639:13911)\n at async Ox (/$bunfs/root/claude:2641:236)\n at async <anonymous> (/$bunfs/root/claude:2641:12469)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-24T20:28:45.716Z"}]This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗