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
I wanted to comment that while interacting with model opencode accumulates memory with each interaction, and it seems it will go like that indefinitely
One workaround for Windows users is to use opencode under WSL and to limit WSL memory, that way everything stays under control
This is going to be a show stopper for me soon. 6GB... is there some hidden JVM process you are not telling us about 😆
Joking aside, this needs fixing before it gets worse. It is already borderline...
What I noticed is Most threads are idle or waiting (__ulock_wait2, kevent64, pthread_cond_wait). The memory is allocated and retained, not actively being used by hot code paths.
Activity
github-actions commentedon Dec 17, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
klonuo commentedon Dec 17, 2025
I wanted to comment that while interacting with model opencode accumulates memory with each interaction, and it seems it will go like that indefinitely
One workaround for Windows users is to use opencode under WSL and to limit WSL memory, that way everything stays under control
shahidshabbir-se commentedon Dec 24, 2025
With one instance - using 5GB of ram
ck3mp3r commentedon Dec 30, 2025
This is going to be a show stopper for me soon. 6GB... is there some hidden JVM process you are not telling us about 😆
Joking aside, this needs fixing before it gets worse. It is already borderline...
gamunu commentedon Dec 30, 2025
I have noticed this as well.
What I noticed is Most threads are idle or waiting (__ulock_wait2, kevent64, pthread_cond_wait). The memory is allocated and retained, not actively being used by hot code paths.
I was running
opencodefor about 39 hourssample-opencode.txt
I attached a sample, I'm not sure how much that will be useful. Will also try with inspect if possible
dwat27 commentedon Jan 11, 2026
she is back again !
Version 1.1.12
PwccaCode commentedon Mar 5, 2026
no fixes for this?
breggles commentedon Mar 16, 2026
Pls fix, k, thx, bye 🙂 (Windows 11, OpenCode 1.2.27)
thdxr commentedon Apr 2, 2026
Closing in favor of #20695 where we're collecting all memory-related problems. Please follow that issue for updates.