High Virtual Memory usage causing system to hang and also made other applications pause/hang. #4702

Open
opened 2026-02-16 17:45:07 -05:00 by yindo · 3 comments
Owner

Originally created by @devaxai on GitHub (Jan 11, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

I ran a prompt using 'Sisyphus' agent(oh-my-opencode), it ran for ~3-4mins and I saw the system freeze for a while and the 'Force Quit Applications' opened up with the details shown in the screenshot.

App: OpenCode desktop app

Plugins

oh-my-opencode, opencode-openai-codex-auth

OpenCode version

1.1.12

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

OS: MacOS 26.2

Terminal

OpenCode app

Originally created by @devaxai on GitHub (Jan 11, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description I ran a prompt using 'Sisyphus' agent(oh-my-opencode), it ran for ~3-4mins and I saw the system freeze for a while and the 'Force Quit Applications' opened up with the details shown in the screenshot. App: OpenCode desktop app ### Plugins oh-my-opencode, opencode-openai-codex-auth ### OpenCode version 1.1.12 ### Steps to reproduce _No response_ ### Screenshot and/or share link <img width="387" height="451" alt="Image" src="https://github.com/user-attachments/assets/ce4d08bc-1ce5-4125-8da0-616291bdb3f6" /> ### Operating System OS: MacOS 26.2 ### Terminal OpenCode app
yindo added the bugperfweb labels 2026-02-16 17:45:07 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 11, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7261: v1.1.6 still has memory bloat - heap not released + MCP orphan processes (describes high virtual memory usage causing system unresponsiveness on macOS)
  • #6172: High CPU usage (100%+) during LLM streaming in long sessions due to O(n) text buffer rendering (related performance and memory accumulation issue)
  • #5361: TUI freezes for ~10 seconds periodically on WSL2 (regression in v1.0.129) (similar system hanging behavior)
  • #4061: Session hangs after file write tool execution with massive latency spike (describes similar hanging/unresponsiveness issue)

Feel free to ignore if your specific case differs from these.

@github-actions[bot] commented on GitHub (Jan 11, 2026): This issue might be a duplicate of existing issues. Please check: - #7261: v1.1.6 still has memory bloat - heap not released + MCP orphan processes (describes high virtual memory usage causing system unresponsiveness on macOS) - #6172: High CPU usage (100%+) during LLM streaming in long sessions due to O(n) text buffer rendering (related performance and memory accumulation issue) - #5361: TUI freezes for ~10 seconds periodically on WSL2 (regression in v1.0.129) (similar system hanging behavior) - #4061: Session hangs after file write tool execution with massive latency spike (describes similar hanging/unresponsiveness issue) Feel free to ignore if your specific case differs from these.
Author
Owner

@Nsomnia commented on GitHub (Jan 11, 2026):

Only receive this when agents make calls to do compilation in any language. Very frustrating.

@Nsomnia commented on GitHub (Jan 11, 2026): Only receive this when agents make calls to do compilation in any language. Very frustrating.
Author
Owner

@paka63 commented on GitHub (Jan 16, 2026):

High memory usage when using subagents spawned inside main thread. I believe those conversations are accumulating and continue to build within the application. Need a way to clear past subagent conversations if not needed.

@paka63 commented on GitHub (Jan 16, 2026): High memory usage when using subagents spawned inside main thread. I believe those conversations are accumulating and continue to build within the application. Need a way to clear past subagent conversations if not needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4702