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
The web UI keeps message and part data for 40 recently opened sessions, while nearby-session prefetch keeps 10. In a Playwright run that visited 50 sessions, the page retained 134.4 MB of JS heap after GC. Limiting the same cache to 10 sessions retained 72.5 MB in the same run. This extra retained data increases memory use in long-lived web and desktop renderers.
Plugins
Not relevant
OpenCode version
1.18.25
Steps to reproduce
Open the web UI.
Visit 40 or more sessions.
Force GC and inspect Runtime.getHeapUsage with CDP.
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.
Activity
thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊