High memory usage #4051

Closed
opened 2026-02-16 17:42:26 -05:00 by yindo · 7 comments
Owner

Originally created by @ravshansbox on GitHub (Jan 1, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

It is getting extremely slow and consuming too much memory after some time

Image

OpenCode version

2.0.18

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOS

Terminal

VSCode

Originally created by @ravshansbox on GitHub (Jan 1, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description It is getting extremely slow and consuming too much memory after some time <img width="281" height="125" alt="Image" src="https://github.com/user-attachments/assets/f1eee001-169e-44bb-aed5-3a68b7877113" /> ### OpenCode version 2.0.18 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System macOS ### Terminal VSCode
yindo added the bugperf labels 2026-02-16 17:42:26 -05:00
yindo closed this issue 2026-02-16 17:42:26 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 1, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #5700: Too high memory usage
  • #5363: opencode eating 70gb of memory?
  • #6058: Multiple instances occupy a large amount of memory
  • #3995: Single opencode session is consuming 23+GB of memory

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 1, 2026): This issue might be a duplicate of existing issues. Please check: - #5700: Too high memory usage - #5363: opencode eating 70gb of memory? - #6058: Multiple instances occupy a large amount of memory - #3995: Single opencode session is consuming 23+GB of memory Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Jan 1, 2026):

@ravshansbox your opencode version doesnt exist

@rekram1-node commented on GitHub (Jan 1, 2026): @ravshansbox your opencode version doesnt exist
Author
Owner

@ravshansbox commented on GitHub (Jan 1, 2026):

@rekram1-node sorry, it was 1.0.218

@ravshansbox commented on GitHub (Jan 1, 2026): @rekram1-node sorry, it was 1.0.218
Author
Owner

@capoBrandelli commented on GitHub (Jan 2, 2026):

Memory spikes >80GB here - on a project with 1.3 GB of data. Kills the session and sometimes the server (current opencode 1.0.223). Thanks for the otherwise fantastic platform!

@capoBrandelli commented on GitHub (Jan 2, 2026): Memory spikes >80GB here - on a project with 1.3 GB of data. Kills the session and sometimes the server (current opencode 1.0.223). Thanks for the otherwise fantastic platform!
Author
Owner

@rekram1-node commented on GitHub (Jan 2, 2026):

I think we found some issues that could be causing this, should be addressed soon

@rekram1-node commented on GitHub (Jan 2, 2026): I think we found some issues that could be causing this, should be addressed soon
Author
Owner

@ravshansbox commented on GitHub (Jan 2, 2026):

@rekram1-node which ticket tracks this issue?

@ravshansbox commented on GitHub (Jan 2, 2026): @rekram1-node which ticket tracks this issue?
Author
Owner

@tadghh commented on GitHub (Jan 3, 2026):

Still an issue on 1.0.203

@tadghh commented on GitHub (Jan 3, 2026): Still an issue on 1.0.203
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4051