V8 Out of Memory Error When Reading Large Files
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
[]
Related to: https://github.com/anthropics/claude-code/issues/1555 and https://github.com/anthropics/claude-code/issues/1554
Temporary fix:
npm i -g @anthropic-ai/[email protected]
claude config set -g autoUpdaterStatus disabled
same
same here since today https://github.com/anthropics/claude-code/issues/1600
+1 high impact issue
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.