Description
The OpenCode Desktop app's WebKit renderer process (com.apple.WebKit.WebContent) grows to very high memory usage over time. In my case it reached ~7.5GB RSS, contributing significantly to system memory pressure.
Steps to reproduce
- Open OpenCode Desktop
- Use it for an extended session (several hours, multiple conversations)
- Check memory usage:
ps aux | grep WebKit | sort -rk6
Expected behaviour
WebKit renderer memory should stay bounded and be released between sessions or when not actively rendering.
Observed behaviour
The WebKit process grows unboundedly and is not released. On macOS it reparents to launchd (PID 1) making it look like an orphan, but it continues consuming memory. The process started at the same time as the Desktop app.
Plugins
opencode-pty, opencode-wakatime
OpenCode version
v1.3.0
Operating System
macOS (Apple Silicon)
Terminal
Ghostty
Description
The OpenCode Desktop app's WebKit renderer process (
com.apple.WebKit.WebContent) grows to very high memory usage over time. In my case it reached ~7.5GB RSS, contributing significantly to system memory pressure.Steps to reproduce
ps aux | grep WebKit | sort -rk6Expected behaviour
WebKit renderer memory should stay bounded and be released between sessions or when not actively rendering.
Observed behaviour
The WebKit process grows unboundedly and is not released. On macOS it reparents to launchd (PID 1) making it look like an orphan, but it continues consuming memory. The process started at the same time as the Desktop app.
Plugins
opencode-pty, opencode-wakatime
OpenCode version
v1.3.0
Operating System
macOS (Apple Silicon)
Terminal
Ghostty