High Virtual Memory usage causing system to hang and also made other applications pause/hang.
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
Operating System
OS: MacOS 26.2
Terminal
OpenCode app
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.
Only receive this when agents make calls to do compilation in any language. Very frustrating.
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.
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.