V8 Out of Memory Error When Reading Large Files

Resolved 💬 6 comments Opened Jun 4, 2025 by jimmy-validalpha Closed Jun 4, 2025

Bug Description
Claude tries to read large files and crashes every time:FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal
----- Native stack trace -----

1: 0xca5430 node::Abort() [node]
2: 0xb77f85 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]
3: 0xecb220 v8::api_internal::ToLocalEmpty() [node]
4: 0xcad1ec [node]
5: 0x717297e4d546

----- JavaScript stack trace -----

1: readFileSync (node:fs:453:20)
2: readFileSync (file:///home/jimmy/.nvm/versions/node/v20.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:536:728)
3: DI (file:///home/jimmy/.nvm/versions/node/v20.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:541:375)
4: file:///home/jimmy/.nvm/versions/node/v20.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1513:1582
5: processTicksAndRejections (node:internal/process/task_queues:95:5)

Environment Info

  • Platform: linux
  • Terminal: windows-terminal
  • Version: 1.0.10
  • Feedback ID: 6bab155c-4e08-46f2-8e28-77c7683108f6

Errors

[]

View original on GitHub ↗

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