[Bug] JavaScript heap out of memory during garbage collection
Bug Description
<--- Last few GCs --->
[5612:0000026B56187000] 1021890 ms: Mark-Compact 4025.2 (4138.9) -> 4010.7 (4139.9) MB, pooled: 3 MB, 931.03 / 0.04 ms (average mu = 0.161, current mu = 0.073) allocation failure; scavenge might not succeed
[5612:0000026B56187000] 1022998 ms: Mark-Compact 4026.6 (4139.9) -> 4009.9 (4139.4) MB, pooled: 4 MB, 1043.33 / 0.02 ms (average mu = 0.109, current mu = 0.058) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 00007FF668E57487 node::SetCppgcReference+16583
2: 00007FF668DBB1B8 v8::base::CPU::num_virtual_address_bits+103032
3: 00007FF66992C011 v8::Isolate::ReportExternalAllocationLimitReached+65
4: 00007FF669918B96 v8::Function::Experimental_IsNopFunction+3302
5: 00007FF6697754E0 v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+33904
6: 00007FF66976E92A v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+6330
7: 00007FF66976A165 v8::CpuProfileNode::GetScriptResourceNameStr+190613
8: 00007FF6690F3DCD BIO_ssl_shutdown+189
Environment Info
- Platform: win32
- Terminal: pycharm
- Version: 2.0.42
- Feedback ID: 343c330a-c907-43b6-be5e-552769141feb
Errors
[{"error":"AbortError: The operation was aborted\n at abortChildProcess (node:child_process:749:27)\n at AbortSignal.onAbortListener (node:child_process:819:7)\n at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n at runAbort (node:internal/abort_controller:486:10)\n at abortSignal (node:internal/abort_controller:457:3)\n at AbortController.abort (node:internal/abort_controller:505:5)\n at Timeout._onTimeout (file:///C:/Users/Admin/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4117:5845)\n at listOnTimeout (node:internal/timers:588:17)\n at process.processTimers (node:internal/timers:523:7)","timestamp":"2025-11-17T12:41:13.228Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗