Out of memory error in UI rendering (join function)

Resolved 💬 3 comments Opened Oct 7, 2025 by kuzmeech Closed Oct 10, 2025

Description

Encountered a RangeError: Out of memory error during a Claude Code session. The error appears to occur in the UI rendering layer, specifically in a join function called during React component rendering.

Error Details

RangeError: Out of memory
    at join (unknown)
    at kpZ (/$bunfs/root/claude:803:13450)
    at M (/$bunfs/root/claude:803:11696)
    at Z (/$bunfs/root/claude:803:11951)
    at OmY (/$bunfs/root/claude:947:9184)
    at <anonymous> (/$bunfs/root/claude:948:781)
    at useMemo (/$bunfs/root/claude:36:25924)
    at nz (/$bunfs/root/claude:947:7964)
    at Hw (/$bunfs/root/claude:36:19415)
    at $d (/$bunfs/root/claude:38:42805)

  ERROR  Out of memory

 -     at join (unknown)
 - kpZ (/$bunfs/root/claude:803:13450)
 - M (/$bunfs/root/claude:803:11696)
 - Z (/$bunfs/root/claude:803:11951)
 - OmY (/$bunfs/root/claude:947:9184)
 - <anonymous> (/$bunfs/root/claude:948:781)
 - useMemo (/$bunfs/root/claude:36:25924)
 - nz (/$bunfs/root/claude:947:7964)
 - Hw (/$bunfs/root/claude:36:19415)
 - $d (/$bunfs/root/claude:38:42805)

Context

  • Working directory: /Users/max/hobby/python/offboarding
  • Activity: Editing OFFBOARDING_CHECKLIST.md file (multiple sequential edits)
  • Session file size: 33MB (dd667533-0cfd-4895-b80e-2023bf9baf47.jsonl)
  • Previous session file: 1.1MB (1f380d85-4279-4c31-8452-caa9b01029d1.jsonl)

Environment

  • Platform: macOS (Darwin 25.0.0)
  • Claude Code version: 2.0.5
  • Git branch: main

Reproduction

The error occurred after multiple file edits in a single session. The session log file grew to 33MB, which may have contributed to the memory issue in the UI rendering layer.

Impact

The error causes the UI to crash and the session to become unusable, requiring the user to restart Claude Code and lose context.

View original on GitHub ↗

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