You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS desktop app white screen due to orphaned process accumulation #12240
The macOS desktop app experiences intermittent white screen issues during normal usage. This is caused by orphaned processes accumulating and consuming excessive memory.
Root Cause
The process cleanup code in packages/desktop/src-tauri/src/lib.rs uses killall opencode-cli, but the actual process name is opencode (not opencode-cli). This means orphaned processes are never cleaned up on app restart.
Symptoms
Multiple opencode, openwrk, and openwork-server processes accumulate over time
It's not only Desktop app, although I'm not 100% sure - i just noticed I have 40 orphaned opencode processes, I'm using mostly CLI through Android Studio + Ghostty, and opencode desktop for copying larger chunks of text If have to. It's 25gb ram total.
Activity
github-actions commentedon Feb 5, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
Micpol commentedon Feb 8, 2026
It's not only Desktop app, although I'm not 100% sure - i just noticed I have 40 orphaned opencode processes, I'm using mostly CLI through Android Studio + Ghostty, and opencode desktop for copying larger chunks of text If have to. It's 25gb ram total.
zehuiHuang commentedon Feb 26, 2026
me too ,终端上没啥问题 ,desktop打开直接就是白屏~
atuizz commentedon Apr 2, 2026
brew install opencode
sudo chown -R $(whoami) ~/.local
opencode web --port 4096
rekram1-node commentedon Apr 9, 2026
I dont work on desktop but im p sure the process is opencode-cli
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.