Claude Code is using massive amounts of memory and heating up my computer.

Status Closed — not planned
Maintainer reply None cached
Activity 12 comments · opened Oct 19, 2025 · closed Jan 12, 2026

Bug Description
This is nearly using 20 gigs of memory as well as high CPU. Just doing 1 simple task.

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.0.22
  • Feedback ID: 5669b4b7-3c2f-44d7-886d-aa1cf2200630

Errors

[{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"OAuth authentication is currently not supported.\"},\"request_id\":\"req_011CUEJEkCdc15iEqCRk8wc5\"}\n    at generate (/$bunfs/root/claude:200:83061)\n    at makeRequest (/$bunfs/root/claude:354:5345)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-18T07:50:07.295Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"OAuth authentication is currently not supported.\"},\"request_id\":\"req_011CUEJEo61oCHJQWM7WNtBm\"}\n    at generate (/$bunfs/root/claude:200:83061)\n    at makeRequest (/$bunfs/root/claude:354:5345)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-18T07:50:07.955Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"OAuth authentication is currently not supported.\"},\"request_id\":\"req_011CUEJL8WCn4vTUbKWHk6oH\"}\n    at generate (/$bunfs/root/claude:200:83061)\n    at makeRequest (/$bunfs/root/claude:354:5345)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-18T07:51:20.330Z"},{"error":"SyntaxError: JSON Parse error: Expected '}'\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (/$bunfs/root/claude:65:724)\n    at Y (/$bunfs/root/claude:11:15050)\n    at huG (/$bunfs/root/claude:1006:20574)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-18T07:51:20.332Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"OAuth authentication is currently not supported.\"},\"request_id\":\"req_011CUEJP8RaPyE2aejrGYFFL\"}\n    at generate (/$bunfs/root/claude:200:83061)\n    at makeRequest (/$bunfs/root/claude:354:5345)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-18T07:52:01.012Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"OAuth authentication is currently not supported.\"},\"request_id\":\"req_011CUEJVGLFWfJvGY6kQ6U2u\"}\n    at generate (/$bunfs/root/claude:200:83061)\n    at makeRequest (/$bunfs/root/claude:354:5345)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-18T07:53:24.263Z"},{"error":"SyntaxError: JSON Parse error: Expected '}'\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (/$bunfs/root/claude:65:724)\n    at Y (/$bunfs/root/claude:11:15050)\n    at huG (/$bunfs/root/claude:1006:20574)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-18T07:53:24.264Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"OAuth authentication is currently not supported.\"},\"request_id\":\"req_011CUEJVk4NAC4ihsvuvjYxJ\"}\n    at generate (/$bunfs/root/claude:200:83061)\n    at makeRequest (/$bunfs/root/claude:354:5345)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-18T07:53:30.735Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"OAuth authentication is currently not supported.\"},\"request_id\":\"req_011CUEJepn8KiTyQM8kfugTb\"}\n    at generate (/$bunfs/root/claude:200:83061)\n    at makeRequest (/$bunfs/root/claude:354:5345)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-18T07:55:33.923Z"},{"error":"SyntaxError: JSON Parse error: Expected '}'\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (/$bunfs/root/claude:65:724)\n    at Y (/$bunfs/root/claude:11:15050)\n    at huG (/$bunfs/root/claude:1006:20574)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-18T07:55:33.926Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"OAuth authentication is currently not supported.\"},\"request_id\":\"req_011CUEJoauCry8wN7auFdxRL\"}\n    at generate (/$bunfs/root/claude:200:83061)\n    at makeRequest (/$bunfs/root/claude:354:5345)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-18T07:57:32.767Z"},{"error":"SyntaxError: JSON Parse error: Expected '}'\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (/$bunfs/root/claude:65:724)\n    at Y (/$

Note: Error logs were truncated.

<img width="674" height="109" alt="Image" src="https://github.com/user-attachments/assets/d1f169be-d8be-4f3b-88be-2a55bb14609c" />

View original on GitHub ↗

12 Comments

github-actions[bot] · 10 months ago

---

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/9890
  2. https://github.com/anthropics/claude-code/issues/9887
  3. https://github.com/anthropics/claude-code/issues/9711

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

fwends · 10 months ago

<img width="669" height="122" alt="Image" src="https://github.com/user-attachments/assets/0997415d-b368-4591-9131-10e37c98395b" />

fwends · 10 months ago

This has now been allowed to go up to 24 gigs of RAM and it's still climbing and climbing All the time using more CPU. I've killed it off Restarted it as it to do 1 simple task. It's the same thing. It's just out of control

troykirin · 10 months ago

Haha 24GB? Try 85GB for me... system crashed already crashed like 3 times today.

fwends · 10 months ago

<img width="460" height="109" alt="Image" src="https://github.com/user-attachments/assets/b6a78cf2-5424-45ca-9bd1-9062b588388b" />

fwends · 10 months ago
Haha 24GB? Try 85GB for me... system crashed already crashed like 3 times today.

Well, yeah, that's actually a lot for 1 task. It doesn't matter if it's 24 gig or 85 gig, it's way too much compared to what it was before.

pjar · 10 months ago

For me what happens is the high CPU usage when Interactive question tool is waiting for reply. It goes back to normal when I answer. I'm not noticing high memory usage though

<img width="343" height="109" alt="Image" src="https://github.com/user-attachments/assets/0f68e731-8758-469d-a267-82addc92de0a" />

<img width="363" height="166" alt="Image" src="https://github.com/user-attachments/assets/55a1b8cb-e223-4e23-a06b-4a2c3630719b" />

I'm on Sequoia 15.6.1 (24G90) with M4 max

gyenabubakar · 10 months ago

Having the same issue here:

<img width="945" height="119" alt="Image" src="https://github.com/user-attachments/assets/4bffdfa7-0d62-4f0d-8817-82575b57f225" />

troykirin · 10 months ago

2.0.22 is a bit better. I built a tool to fix the leaf node issue that breaks old conversations though.

github-actions[bot] · 8 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] · 7 months ago

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] · 7 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.