opencode icon indicating copy to clipboard operation
opencode copied to clipboard

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

Open devaxai opened this issue 10 months ago • 4 comments

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

devaxai avatar Jan 11 '26 05:01 devaxai

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] avatar Jan 11 '26 05:01 github-actions[bot]

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

Nsomnia avatar Jan 11 '26 15:01 Nsomnia

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 avatar Jan 16 '26 17:01 paka63

To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

github-actions[bot] avatar Mar 26 '26 03:03 github-actions[bot]