[BUG]

Resolved 💬 3 comments Opened Aug 7, 2025 by lelandg Closed Aug 15, 2025

Environment

  • Platform (select one):
  • [X] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 20250807
  • Operating System: Windows 11 -> WSL Ubuntu
  • Terminal: bash

Bug Description

Claude was checking for the existence of large files. Claude said it's the CLI runtime, so I should report it.

Steps to Reproduce

  1. I downloaded several multi-GB .PTH files. There's a script to copy them into place. Claude was running something in bash to confirm that they were all in place.
  2. Let me know if you need more info.

Expected Behavior

Find the files

Actual Behavior

Crash (see below)

Additional Context

<--- Last few GCs --->

[1608245:0x55ccffa082f0] 1023107 ms: Scavenge 3483.7 (3509.2) -> 3472.4 (3511.0) MB, 1.5 / 0.0 ms (average mu = 0.999, current mu = 0.999) task;
[1608245:0x55ccffa082f0] 1027550 ms: Mark-sweep 4146.4 (4179.7) -> 4088.6 (4166.0) MB, 7.6 / 0.5 ms (+ 0.1 ms in 2 steps since start of marking, biggest step 0.1 ms, walltime since start of marking 4315 ms) (average mu = 0.999, current mu = 1.000) final

<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
1: 0x7fb15c43f33c node::Abort() [/lib/x86_64-linux-gnu/libnode.so.109]
2: 0x7fb15c3335db [/lib/x86_64-linux-gnu/libnode.so.109]
3: 0x7fb15c825544 v8::Utils::ReportOOMFailure(v8::internal::Isolate, char const, bool) [/lib/x86_64-linux-gnu/libnode.so.109]
4: 0x7fb15c825938 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate, char const, bool) [/lib/x86_64-linux-gnu/libnode.so.109]
5: 0x7fb15ca110e9 [/lib/x86_64-linux-gnu/libnode.so.109]
6: 0x7fb15ca26c69 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/lib/x86_64-linux-gnu/libnode.so.109]
7: 0x7fb15ca27980 v8::internal::Heap::CollectAllGarbage(int, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/lib/x86_64-linux-gnu/libnode.so.109]
8: 0x7fb15c9a55c8 v8::internal::StackGuard::HandleInterrupts() [/lib/x86_64-linux-gnu/libnode.so.109]
9: 0x7fb15cdda1c9 v8::internal::Runtime_StackGuardWithGap(int, unsigned long, v8::internal::Isolate) [/lib/x86_64-linux-gnu/libnode.so.109]
10: 0x7fb15c7351f9 [/lib/x86_64-linux-gnu/libnode.so.109]
Aborted

View original on GitHub ↗

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