[BUG] Claude Desktop crashes on launch with a V8 "JavaScript heap out of memory" error every time, making the app unusable. The window opens briefly (~15–18 seconds) then dies with SIGTRAP / trace trap. Persists across a full clean reinstall.
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Summary: Claude Desktop crashes on launch with a V8 "JavaScript heap out of memory" error every time, making the app unusable. The window opens briefly (~15–18 seconds) then dies with SIGTRAP / trace trap. Persists across a full clean reinstall.
Environment:
App version: Claude Desktop 1.9659.2
macOS: 26.2 (build 25C56)
Hardware: MacBook Air
What happens: On launch the V8 old-space heap climbs to ~2048 MB (the default ceiling), the last-resort Mark-Compact GC frees nothing, then V8 aborts with OOM and the process dies.
OOM error in V8: Ineffective mark-compacts near heap limit
Allocation failed - JavaScript heap out of memory
zsh: trace trap /Applications/Claude.app/Contents/MacOS/Claude
Other signatures on every launch (matching existing reports):
MaxListenersExceededWarning: Possible EventEmitter memory leak detected on [WebContents] and [Cookies]
Error occurred in handler for '..._claude.buddy_$_BuddyBleTransport_$_reportState': No handler registered (Bluetooth companion transport)
DeprecationWarning: url.parse()
Troubleshooting already performed (all failed):
Restarted machine, killed all lingering Claude processes
Cleared caches: Cache, Code Cache, GPUCache, IndexedDB (fixed a separate IndexedDB LOCK error but not the OOM)
Removed MCP config (claude_desktop_config.json) — still crashes, so MCP is not the cause
Cleared Cowork/agent state: cowork-enabled-cli-ops.json, local-agent-mode-sessions, vm_bundles, claude-code
Full state wipe (rm -rf ~/Library/Application Support/Claude) — still crashes
Full clean reinstall — still crashes
Likely related open issues: #61992, #49579, #48942, #48261 (same OOM-on-launch signature, tied to Code/Cowork startup loading too many heavy resources into one V8 heap).
Workaround: claude.ai in the browser works fine.
What Should Happen?
claude code should stay open
Error Messages/Logs
alexli@Alexs-MacBook-Air ~ % ls -lt ~/Library/Application\ Support/Claude/logs/
ls: /Users/alexli/Library/Application Support/Claude/logs/: No such file or directory
alexli@Alexs-MacBook-Air ~ % ls -lt ~/Library/Application\ Support/Claude/logs/
ls: /Users/alexli/Library/Application Support/Claude/logs/: No such file or directory
alexli@Alexs-MacBook-Air ~ % ls -lt ~/Library/Logs/DiagnosticReports/ | grep -i claude
alexli@Alexs-MacBook-Air ~ %
Steps to Reproduce
open the claude desktop app and it stays open for a few seconds then quit.
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Claude 1.9659.2 (390d6c) 2026-05-28T21:50:01.000Z
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗