[Bug] Memory leak causing performance degradation during extended runtime
Status Closed — not planned
Reported on v2.1.7
Maintainer reply None cached
Activity 6 comments · opened Jan 15, 2026 · closed Feb 28, 2026
Bug Description
when running for long periods of time, the runtime becomes slow and memory seems to balloon
Environment Info
- Platform: linux
- Terminal: ghostty
- Version: 2.1.7
- Feedback ID: 0b52a0e9-058f-4010-b732-f93383518c54
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/sienna/.local/share/claude/versions/2.1.7 (expected in multi-process scenarios)\n at eP$ (/$bunfs/root/claude:3165:2157)\n at rTA (/$bunfs/root/claude:3165:1268)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-15T10:10:49.402Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 209661 tokens > 200000 maximum\"},\"request_id\":\"req_011CX8z1m69GYU9ziVYmE1SS\"}\n at generate (/$bunfs/root/claude:438:33630)\n at makeRequest (/$bunfs/root/claude:855:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-15T10:11:36.823Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 209661 tokens > 200000 maximum\"},\"request_id\":\"req_011CX8z2CTcyyRkuYeUyDQSN\"}\n at generate (/$bunfs/root/claude:438:33630)\n at makeRequest (/$bunfs/root/claude:855:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-15T10:11:39.918Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 209661 tokens > 200000 maximum\"},\"request_id\":\"req_011CX8z2Sq4wkUgJXWiDDuzQ\"}\n at generate (/$bunfs/root/claude:438:33630)\n at makeRequest (/$bunfs/root/claude:855:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-15T10:11:43.353Z"}]This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗