opencode
opencode copied to clipboard
Too high memory usage
If it's of importance I start opencode web, then attach through CLI
The session wasn't too long, but I ended it when I saw RAM usage
This issue might be a duplicate of existing issues. Please check:
- #5363: opencode eating 70gb of memory?
- #3995: Single opencode session is consuming 23+GB of memory
- #3013: Uses a huge amount of memory
- #4315: Memory stays unbounded: ACP session map + compacted tool outputs
- #2805: High RAM usage in latest release
Feel free to ignore if none of these address your specific case.
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