HyperlinkMapOutOfMemory error during split zoom causes process termination #10338
-
Issue DescriptionWhen toggling split zoom (Cmd+Shift+Enter) in a terminal running Claude Code CLI (a Node.js TUI that outputs many OSC 8 hyperlinks), the child process is killed. Steps to reproduce:
Error from unified log: The resize operation (169 cols → 83 cols, 277 rows → 572 rows) causes the HyperlinkMap to run out of memory, which then causes process termination. Additional debugging evidence:
Expected behaviour: Notes: Expected BehaviorWhen toggling split zoom (Cmd+Shift+Enter), the terminal should resize without affecting running processes. The child process should continue running normally. Actual BehaviorWhen toggling split zoom after outputting many OSC 8 hyperlinks, the child process is killed. The terminal shows the shell prompt as if the process exited. The unified log shows: Reproduction StepsNote: Unable to create minimal reproduction outside of Claude Code
Update: Unable to reproduce this issue in tip (commit 26e243a, build 13862). Reporting for awareness in case it helps with related issues. Ghostty LogsOS Version InformationmacOS 15 (Darwin 25.2.0) - Apple Silicon (Linux only) Display ServerNone (Linux only) Desktop Environment/Window ManagerNo response Minimal Ghostty Configurationwindow-padding-x=5
window-padding-y=5
copy-on-select=clipboard
macos-option-as-alt=true
shell-integration-features = cursor, sudo, title, ssh-env, ssh-terminfoAdditional Relevant ConfigurationNo response I acknowledge that:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Exact same issue. Happens to me when i minimize the split claude code is in after maximizing it. Only happens with a long claude code discussion. CleanShot.2026-01-16.at.14.43.30.mp4 |
Beta Was this translation helpful? Give feedback.
-
|
This should be fixed from #10337 on tip. Please let me know if not, but this error is no longer possible during resize. |
Beta Was this translation helpful? Give feedback.
This should be fixed from #10337 on tip. Please let me know if not, but this error is no longer possible during resize.