[BUG] Please provide complete log of everything done, so Claude can resume on crash
Resolved 💬 4 comments Opened Jun 5, 2025 by lukehutch Closed Jun 5, 2025
Claude code often crashes with OOM, but then cannot resume from where it left off. Please log everything it does, so that it can summarize its own history and resume at any point.
<--- Last few GCs --->
[23260:0x138008000] 165331293 ms: Mark-Compact (reduce) 4088.9 (4097.1) -> 4088.2 (4097.0) MB, pooled: 0 MB, 387.88 / 0.00 ms (+ 23.1 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 597 ms) (average mu = 0.855, [23260:0x138008000] 165331838 ms: Mark-Compact 4089.2 (4097.0) -> 4088.9 (4101.0) MB, pooled: 0 MB, 545.21 / 0.00 ms (average mu = 0.707, current mu = 0.000) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0x1047077c0 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
2: 0x1048b13f4 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
3: 0x104a6e424 v8::internal::Heap::CallGCPrologueCallbacks(v8::GCType, v8::GCCallbackFlags, v8::internal::GCTracer::Scope::ScopeId) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
4: 0x104a6ba80 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
5: 0x104a650a4 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
6: 0x104a65a6c v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
7: 0x104a56b18 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
8: 0x104d19954 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
9: 0x1044fb9f4 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/opt/homebrew/Cellar/node/23.9.0/bin/node]
10: 0x10d8bc838
11: 0x10cfbae98
12: 0x10d805be8
13: 0x10db880e4
14: 0x10d1dcb44
15: 0x10cde29b4
16: 0x10cfb6ecc
17: 0x10d8cca0c
18: 0x10d689528
19: 0x10d038600
20: 0x10d0a8c48
21: 0x10d8cc4f8
22: 0x10d919458
23: 0x10de0a8ac
24: 0x10446250c Builtins_JSEntryTrampoline [/opt/homebrew/Cellar/node/23.9.0/bin/node]
25: 0x1044621b0 Builtins_JSEntry [/opt/homebrew/Cellar/node/23.9.0/bin/node]
26: 0x1049e3344 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
27: 0x1049e2cac v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
28: 0x1048c7f34 v8::Function::Call(v8::Isolate*, v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
29: 0x10461d6d4 node::InternalCallbackScope::Close() [/opt/homebrew/Cellar/node/23.9.0/bin/node]
30: 0x10461db94 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/23.9.0/bin/node]
31: 0x104635d90 node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
32: 0x10481f6b4 node::StreamBase::CallJSOnreadMethod(long, v8::Local<v8::ArrayBuffer>, unsigned long, node::StreamBase::StreamBaseJSChecks) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
33: 0x10481f938 node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
34: 0x104825d20 node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
35: 0x104825a28 node::LibuvStreamWrap::ReadStart()::$_1::__invoke(uv_stream_s*, long, uv_buf_t const*) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
36: 0x107e5ee6c uv__stream_io [/opt/homebrew/Cellar/libuv/1.50.0/lib/libuv.1.dylib]
37: 0x107e660e0 uv__io_poll [/opt/homebrew/Cellar/libuv/1.50.0/lib/libuv.1.dylib]
38: 0x107e55f08 uv_run [/opt/homebrew/Cellar/libuv/1.50.0/lib/libuv.1.dylib]
39: 0x10461e488 node::SpinEventLoopInternal(node::Environment*) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
40: 0x10474ef10 node::NodeMainInstance::Run(node::ExitCode*, node::Environment*) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
41: 0x10474ec64 node::NodeMainInstance::Run() [/opt/homebrew/Cellar/node/23.9.0/bin/node]
42: 0x1046c827c node::Start(int, char**) [/opt/homebrew/Cellar/node/23.9.0/bin/node]
43: 0x1995deb98 start [/usr/lib/dyld]
zsh: abort claude
(base) lhutchison@BNB-AI-LHUTCHISON grogu-bindings %
(base) lhutchison@BNB-AI-LHUTCHISON grogu-bindings % claude
╭───────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code! │
│ │
│ /help for help, /status for your current setup │
│ │
│ cwd: /Users/lhutchison/grogu-bindings │
╰───────────────────────────────────────────────────╯
What's new:
• Added markdown table support
• Improved streaming performance
> Keep working on what I asked you to do
⏺ I don't have context about what you previously asked me to do. Could you please remind me what task you'd like me to continue working on?This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗