claude-code - 💡(How to fix) Fix [BUG] Claude Code desktop app consuming 36GB RAM, crashes repeatedly after update

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error Messages/Logs

Code Example

macOS system dialog:
"Your system has run out of application memory.
To avoid problems with your computer, quit any applications you are not using."

Activity Monitor reading:
Claude36.31 GB
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

After updating to the latest version, the Claude Code desktop app has crashed twice within 30 minutes due to running out of application memory. macOS shows the "Force Quit Applications" dialog with Claude using 36.31 GB of RAM.

What Should Happen?

Memory usage should stay within a reasonable range (typically under 2GB for a normal session). The app should not grow heap unbounded or trigger macOS out-of-memory warnings.

Error Messages/Logs

macOS system dialog:
"Your system has run out of application memory.
To avoid problems with your computer, quit any applications you are not using."

Activity Monitor reading:
Claude — 36.31 GB

Steps to Reproduce

  1. Update Claude Code desktop app to v2.1.114
  2. Open the app and start a normal conversation session
  3. Use it for regular tasks (chat, code edits) for ~15-30 minutes
  4. Observe memory usage in Activity Monitor climbing continuously
  5. Eventually macOS shows the "Force Quit Applications" out-of-memory dialog
  6. App must be force-quit; happens repeatedly (twice within 30 minutes in my case)

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.114 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

<img width="503" height="583" alt="Image" src="https://github.com/user-attachments/assets/1ba3be01-84ca-4224-a2ce-a25374cdba03" />

extent analysis

TL;DR

The issue can likely be mitigated by identifying and addressing the memory leak in the Claude Code desktop app, specifically in version 2.1.114, which is causing the application to consume excessive memory.

Guidance

  • Review the code changes introduced in version 2.1.114 to identify potential memory leak sources, focusing on the Opus model and conversation session handling.
  • Monitor memory usage patterns using Activity Monitor to understand how memory allocation changes over time during a normal conversation session.
  • Consider testing the app with different models or scenarios to isolate if the issue is specific to the Opus model or a broader problem.
  • Check for any circular references or unclosed resources in the code that could contribute to the memory leak.

Example

No specific code example can be provided without access to the Claude Code source, but a general approach to debugging memory leaks in JavaScript (if applicable) might involve using the Chrome DevTools Memory Profiler to snapshot and compare heap allocations.

Notes

The exact cause of the memory leak is uncertain without further investigation into the codebase. The provided image does not offer actionable insights into the issue.

Recommendation

Apply a workaround by potentially downgrading to a previous version of Claude Code if the memory leak is confirmed to be introduced in version 2.1.114, as the issue is identified as a regression.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Claude Code desktop app consuming 36GB RAM, crashes repeatedly after update