Here's a concise, technical GitHub issue title: "V8 Heap Exhaustion: Allocation Failure During Mark-Compact GC" Rationale: - Specifies the specific V8 garbage collection problem - Highlights the key technical issue of heap memory exhaustion - Uses precis

Resolved 💬 1 comment Opened Jun 5, 2025 by vstinc Closed Jun 5, 2025

Bug Description
After a few minutes of usage, the application throws the following error. Details below:

<--- Last few GCs --->

[12682:0x138008000] 2772055 ms: Mark-Compact 3902.3 (4132.7) -> 3886.4 (4132.9) MB, pooled: 1 MB, 140.79 / 0.00 ms (average mu = 0.151, current mu = 0.105) allocation failure; scavenge might not succeed
[12682:0x138008000] 2772188 ms: Mark-Compact 3902.5 (4133.2) -> 3886.5 (4132.9) MB, pooled: 1 MB, 119.88 / 0.00 ms (average mu = 0.129, current mu = 0.103) allocation failure; scavenge might not succeed

<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

Environment Info

  • Platform: macos
  • Terminal: Apple_Terminal
  • Version: 1.0.11
  • Feedback ID: 52e1411b-4754-4948-9294-c9e0bf7024a5

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at JZ (file:///Users/adil/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:683:2402)\n    at file:///Users/adil/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:11763\n    at Q (file:///Users/adil/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17069)\n    at LU (file:///Users/adil/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:10909)\n    at HG (file:///Users/adil/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:10355)\n    at file:///Users/adil/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2269:2177","timestamp":"2025-06-05T05:20:46.236Z"}]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗