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
High Memory Usage on macOS 15.7 (Apple M4, 16GB, arm64) #9239
On macOS 15.7 (Apple Silicon), the app’s memory usage becomes abnormally high during normal usage (or stays extremely high even when idle). This impacts overall system performance and may indicate a memory leak or some resources not being released properly.
The memory bloat is so bad, it is hard to use. Had to cap memory so it is not crashing my system. 25GB+
(Fedora 43) Would be amazing if you could look into this 🙏
I gave your branch a good go, unfortunately I kept running into bun crashes (not sure if related) so I could not really gather data for longer sessions.
That being said, 1.1.28 shows improved memory handling. I can clearly see how the allocated memory is released again.
I've been experiencing this almost daily. Usually, I notice it rise to the upper 20s or 30GB. This morning, after leaving it up overnight, it got over 50GB... had to restart Activity Monitor for it to even register it.
Also, not sure why I see opencode-cli rather than opencode, like other users show.
Activity
github-actions commentedon Jan 18, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
mario-loomia commentedon Jan 18, 2026
The memory bloat is so bad, it is hard to use. Had to cap memory so it is not crashing my system. 25GB+
(Fedora 43) Would be amazing if you could look into this 🙏
rekram1-node commentedon Jan 18, 2026
Can you share any steps to reproduce, any pattern of when it happens, are you writing rust code (special ask because rust lsp eats a lot of mem)
mario-loomia commentedon Jan 19, 2026
In terms of LSPs I got Typescript and Eslint.
I also kicked out a plugin I was using to be sure.
It feels like a memory leak FWIW.
kov commentedon Jan 20, 2026
Could you give it a try with #9693 applied?
mario-loomia commentedon Jan 21, 2026
I gave your branch a good go, unfortunately I kept running into bun crashes (not sure if related) so I could not really gather data for longer sessions.
That being said, 1.1.28 shows improved memory handling. I can clearly see how the allocated memory is released again.
mario-loomia commentedon Jan 21, 2026
That went in with 1.1.27 and sounds like what I am seeing.
hyperbolic-c commentedon Jan 31, 2026
same issue on mac air m4.
GaryReckard commentedon Feb 2, 2026
I've been experiencing this almost daily. Usually, I notice it rise to the upper 20s or 30GB. This morning, after leaving it up overnight, it got over 50GB... had to restart Activity Monitor for it to even register it.
Also, not sure why I see
opencode-clirather thanopencode, like other users show.thdxr commentedon Apr 2, 2026
Closing in favor of #20695 where we're collecting all memory-related problems. Please follow that issue for updates.