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

Resolved 💬 3 comments Opened Jul 24, 2025 by fwends Closed Aug 19, 2025

[7501:0x128008000] 646368053 ms: Scavenge (interleaved) 3904.9 (4105.0) -> 3897.0 (4105.0) MB, pooled: 1 MB, 0.75 / 0.00 ms (average mu = 0.159, current mu = 0.070) allocation failure;
[7501:0x128008000] 646368589 ms: Mark-Compact 3905.5 (4105.7) -> 3897.6 (4097.5) MB, pooled: 9 MB, 533.79 / 0.00 ms (average mu = 0.128, current mu = 0.092) allocation failure; scavenge might not succeed

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

1: 0x1007148b4 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
2: 0x10084528c v8::Utils::ReportOOMFailure(v8::internal::Isolate, char const, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
3: 0x100845244 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate, char const, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
4: 0x100a22204 v8::internal::Heap::stack() [/opt/homebrew/Cellar/node/24.2.0/bin/node]
5: 0x100a24944 v8::internal::Heap::OldGenerationConsumedBytes() const [/opt/homebrew/Cellar/node/24.2.0/bin/node]
6: 0x100a247e4 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector, v8::base::TimeTicks) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
7: 0x100a32170 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags)::$_1::operator()() const [/opt/homebrew/Cellar/node/24.2.0/bin/node]
8: 0x100a31e14 void heap::base::Stack::SetMarkerAndCallbackImpl<v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags)::$_1>(heap::base::Stack, void, void const*) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
9: 0x10117a574 PushAllRegistersAndIterateStack [/opt/homebrew/Cellar/node/24.2.0/bin/node]
10: 0x100a207c4 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
11: 0x100a183cc v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
12: 0x100a00058 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
13: 0x100d72d54 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long, v8::internal::Isolate) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
14: 0x101239f74 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/opt/homebrew/Cellar/node/24.2.0/bin/node]
15: 0x140b25a74
16: 0x1406ea4a4
17: 0x101269a20 Builtins_ArrayMap [/opt/homebrew/Cellar/node/24.2.0/bin/node]
18: 0x10119d6e0 Builtins_InterpreterEnterAtBytecode [/opt/homebrew/Cellar/node/24.2.0/bin/node]
19: 0x140b1c774
20: 0x1406fdb34
21: 0x141045120
22: 0x14118ee1c
23: 0x1405f9860
24: 0x141166b00
25: 0x10119cbec Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/24.2.0/bin/node]
26: 0x14100a03c
27: 0x1011db648 Builtins_AsyncFunctionAwaitResolveClosure [/opt/homebrew/Cellar/node/24.2.0/bin/node]
28: 0x1012b05f8 Builtins_PromiseFulfillReactionJob [/opt/homebrew/Cellar/node/24.2.0/bin/node]
29: 0x1011caa50 Builtins_RunMicrotasks [/opt/homebrew/Cellar/node/24.2.0/bin/node]
30: 0x10119a7b0 Builtins_JSRunMicrotasksEntry [/opt/homebrew/Cellar/node/24.2.0/bin/node]
31: 0x10097a460 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
32: 0x10097ab0c v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
33: 0x10097abfc v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate, v8::internal::MicrotaskQueue) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
34: 0x10099f7f8 v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
35: 0x10099f614 v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
36: 0x10119e94c Builtins_CallApiCallbackOptimizedNoProfiling [/opt/homebrew/Cellar/node/24.2.0/bin/node]
37: 0x1404f7f78
38: 0x10119a8cc Builtins_JSEntryTrampoline [/opt/homebrew/Cellar/node/24.2.0/bin/node]
39: 0x10119a570 Builtins_JSEntry [/opt/homebrew/Cellar/node/24.2.0/bin/node]
40: 0x10097a490 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
41: 0x100979e80 v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::Object>, v8::internal::DirectHandle<v8::internal::Object>, v8::base::Vector<v8::internal::DirectHandle<v8::internal::Object> const>) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
42: 0x100856778 v8::Function::Call(v8::Isolate, v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
43: 0x100664970 node::InternalCallbackScope::Close() [/opt/homebrew/Cellar/node/24.2.0/bin/node]
44: 0x100664bb0 node::InternalMakeCallback(node::Environment, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>, node::async_context, v8::Local<v8::Value>) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
45: 0x100673310 node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
46: 0x1007ce820 node::StreamBase::CallJSOnreadMethod(long, v8::Local<v8::ArrayBuffer>, unsigned long, node::StreamBase::StreamBaseJSChecks) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
47: 0x1007cfdd0 node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
48: 0x10082a4f4 node::crypto::TLSWrap::ClearOut() [/opt/homebrew/Cellar/node/24.2.0/bin/node]
49: 0x10082998c node::crypto::TLSWrap::Cycle() [/opt/homebrew/Cellar/node/24.2.0/bin/node]
50: 0x10082c144 node::crypto::TLSWrap::OnStreamRead(long, uv_buf_t const&) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
51: 0x1007d2594 node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
52: 0x1007d2a50 node::LibuvStreamWrap::ReadStart()::$_1::__invoke(uv_stream_s, long, uv_buf_t const) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
53: 0x105b8faf0 uv__stream_io [/opt/homebrew/Cellar/libuv/1.51.0/lib/libuv.1.dylib]
54: 0x105b96ca8 uv__io_poll [/opt/homebrew/Cellar/libuv/1.51.0/lib/libuv.1.dylib]
55: 0x105b86b58 uv_run [/opt/homebrew/Cellar/libuv/1.51.0/lib/libuv.1.dylib]
56: 0x1006653ec node::SpinEventLoopInternal(node::Environment*) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
57: 0x10073e6c0 node::NodeMainInstance::Run(node::ExitCode, node::Environment) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
58: 0x10073e454 node::NodeMainInstance::Run() [/opt/homebrew/Cellar/node/24.2.0/bin/node]
59: 0x1006ea01c node::Start(int, char**) [/opt/homebrew/Cellar/node/24.2.0/bin/node]
60: 0x197732b98 start [/usr/lib/dyld]
zsh: abort /Users/greg/.claude/local/claude --dangerously-skip-permissions
$

View original on GitHub ↗

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