[BUG] Got this issue while auto compacting converstaion
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [x] Other: Max subscription
- Claude CLI version: 1.0.89 (Claude Code)
- Operating System: macOS 15.6
- Terminal: Ghostty
Bug Description
Encountered this issue while auto compacting conversation
RangeError: Out of memory
at join (unknown)
at lVG (/$bunfs/root/claude:1637:6194)
at M (/$bunfs/root/claude:1637:4516)
at Z (/$bunfs/root/claude:1637:4771)
at Gq5 (/$bunfs/root/claude:1647:1585)
at <anonymous> (/$bunfs/root/claude:1648:64)
at map (native:1:11)
at useMemo (/$bunfs/root/claude:188:25924)
at iH (/$bunfs/root/claude:1647:324)
at BF (/$bunfs/root/claude:188:19415)
ERROR Out of memory
- at join (unknown)
- lVG (/$bunfs/root/claude:1637:6194)
- M (/$bunfs/root/claude:1637:4516)
- Z (/$bunfs/root/claude:1637:4771)
- Gq5 (/$bunfs/root/claude:1647:1585)
- <anonymous> (/$bunfs/root/claude:1648:64)
- map (native:1:11)
- useMemo (/$bunfs/root/claude:188:25924)
- iH (/$bunfs/root/claude:1647:324)
- BF (/$bunfs/root/claude:188:19415)
Expected Behavior
successfully continue query after compacting conversation
Actual Behavior
encountered a bug, error log indicates its a memory management issue, v8 allocated memory ran short
Additional Context
also the scroll buffer was reset when this error was encountered for some reason
attachment with encountered error
<img width="1800" height="1169" alt="Image" src="https://github.com/user-attachments/assets/44a9e9d0-a697-427c-be9d-0b39743ed219" />
RangeError: Out of memory
at join (unknown)
at lVG (/$bunfs/root/claude:1637:6194)
at M (/$bunfs/root/claude:1637:4516)
at Z (/$bunfs/root/claude:1637:4771)
at Gq5 (/$bunfs/root/claude:1647:1585)
at <anonymous> (/$bunfs/root/claude:1648:64)
at map (native:1:11)
at useMemo (/$bunfs/root/claude:188:25924)
at iH (/$bunfs/root/claude:1647:324)
at BF (/$bunfs/root/claude:188:19415)
ERROR Out of memory
- at join (unknown)
- lVG (/$bunfs/root/claude:1637:6194)
- M (/$bunfs/root/claude:1637:4516)
- Z (/$bunfs/root/claude:1637:4771)
- Gq5 (/$bunfs/root/claude:1647:1585)
- <anonymous> (/$bunfs/root/claude:1648:64)
- map (native:1:11)
- useMemo (/$bunfs/root/claude:188:25924)
- iH (/$bunfs/root/claude:1647:324)
- BF (/$bunfs/root/claude:188:19415)
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗