[Bug] JavaScript heap out of memory - allocation failed
Bug Description
<--- Last few GCs --->
[1090:0x3d567000] 7474235 ms: Scavenge (during sweeping) 3962.9 (3967.4) -> 3960.9 (3967.4) MB, pooled: 0.0 MB, 0.87 / 0.00 ms (average mu = 0.397, current mu = 0.433) allocation failure;
[1090:0x3d567000] 7476382 ms: Mark-Compact 4555.9 (4560.5) -> 4158.6 (4165.1) MB, pooled: 0.0 MB, 1484.03 / 0.00 ms (average mu = 0.442, current mu = 0.474) allocation failure; scavenge might not succeed
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0x7a0ebb node::OOMErrorHandler(char const*, v8::OOMDetails const&) [claude]
2: 0xbd72ea [claude]
3: 0xe25325 [claude]
4: 0xe22ed7 [claude]
5: 0xe177c7 [claude]
6: 0xe1530d [claude]
7: 0xdf3b66 [claude]
8: 0x12a2591 [claude]
9: 0x7e1ebbe7aa36
Aborted (core dumped)
Environment Info
- Platform: linux
- Terminal: windows-terminal
- Version: 2.1.39
- Feedback ID: 4f3e2f48-c824-45d9-a60b-71c8c09b0d40
Errors
[{"error":"Error: Request was aborted.\n at u26 (file:///home/jimmy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:905:99129)\n at u26.next (<anonymous>)\n at G_q (file:///home/jimmy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:5780:4477)\n at G_q.next (<anonymous>)\n at f_q (file:///home/jimmy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:5785:7758)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n at async file:///home/jimmy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:5780:3930\n at async yOA (file:///home/jimmy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:961:2399)\n at async qG1 (file:///home/jimmy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:5780:3900)\n at async fR (file:///home/jimmy/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3556:8808)","timestamp":"2026-02-11T09:31:32.392Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗