[BUG] JavaScript heap out of memory

Resolved 💬 5 comments Opened Dec 24, 2025 by ZDP-Q Closed Feb 14, 2026

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?

<--- Last few GCs --->

[34748:0000022C7EDCD000] 1542276 ms: Mark-Compact 4038.2 (4128.5) -> 4018.9 (4129.0) MB, pooled: 8 MB, 711.53 / 0.00 ms (average mu = 0.388, current mu = 0.487) task; scavenge might not succeed
[34748:0000022C7EDCD000] 1543212 ms: Mark-Compact 4032.8 (4129.0) -> 4019.0 (4125.5) MB, pooled: 12 MB, 874.74 / 0.00 ms (average mu = 0.249, current mu = 0.066) task; 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: 00007FF7F8E820AD node::SetCppgcReference+17245
2: 00007FF7F8DEA4D8 v8::base::CPU::num_virtual_address_bits+92376
3: 00007FF7F996A1B1 v8::Isolate::ReportExternalAllocationLimitReached+65
4: 00007FF7F9957096 v8::Function::Experimental_IsNopFunction+2790
5: 00007FF7F97A6920 v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+31392
6: 00007FF7F97A0644 v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+6084
7: 00007FF7F979BCF5 v8::CpuProfileNode::GetScriptResourceNameStr+188069
8: 00007FF7F91213BD BIO_ssl_shutdown+189
I encountered a memory overflow.

What Should Happen?

I didn't do anything, but CC's memory overflowed and it quit.

Error Messages/Logs

Steps to Reproduce

I didn't do anything, but CC's memory overflowed and it quit.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.0.75

Claude Code Version

2.0.76

Platform

Other

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗