Memory Leak - Commit Size Exceeds 70GB #9260

Closed
opened 2026-02-16 18:12:01 -05:00 by yindo · 2 comments
Owner

Originally created by @ayaka209 on GitHub (Feb 13, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

The application experiences a critical memory leak where the commit size (reserved memory) grows continuously and indefinitely during use. The commit size can exceed 70GB without ever being released, eventually exhausting all available system memory (physical RAM + page file) and causing system instability or crashes.

Plugins

Oh-My-OpenCode

OpenCode version

1.1.65

Steps to reproduce

  1. Open a Rust project with LSP (Language Server Protocol) enabled
  2. Use Claude Opus model with Sisyphus agent
  3. Engage in extended conversations with multiple interactions
  4. Monitor memory usage in Task Manager (Details tab → Commit size column)

Screenshot and/or share link

Working Set and Commit Size
Image

Operating System

Win11 Pro 25H2 26200.7840

Terminal

Windows Terminal

Originally created by @ayaka209 on GitHub (Feb 13, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description The application experiences a critical memory leak where the commit size (reserved memory) grows continuously and indefinitely during use. The commit size can exceed 70GB without ever being released, eventually exhausting all available system memory (physical RAM + page file) and causing system instability or crashes. ### Plugins Oh-My-OpenCode ### OpenCode version 1.1.65 ### Steps to reproduce 1. Open a Rust project with LSP (Language Server Protocol) enabled 2. Use Claude Opus model with Sisyphus agent 3. Engage in extended conversations with multiple interactions 4. Monitor memory usage in Task Manager (Details tab → Commit size column) ### Screenshot and/or share link Working Set and Commit Size <img width="564" height="388" alt="Image" src="https://github.com/user-attachments/assets/3c5af727-21bf-458f-9b55-ea04b556b1ea" /> ### Operating System Win11 Pro 25H2 26200.7840 ### Terminal Windows Terminal
yindo added the windowsbugperf labels 2026-02-16 18:12:01 -05:00
yindo closed this issue 2026-02-16 18:12:01 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 13, 2026):


This issue appears to be a duplicate or closely related to existing memory leak reports. Please check:

  • #10248: Serious memory leak on the Windows platform (12GB RAM consumption observed)
  • #12499: Slow down the PC after hours usage and occupy large memory (Windows, 53% RAM usage)
  • #12513: Critical CPU usage and memory leak even when starting a new session (92.5GB virtual memory)
  • #12687: Severe Memory Leak and Disk Swell leading to System Kernel Panic (macOS, 50GB disk swell)
  • #13230: Critical memory leak causes kernel soft lockups and OOM kills (111GB virtual / 21GB RSS on Linux)
  • #13041: Per-session MCP server and LSP duplication multiplies memory usage across concurrent sessions

Many of these issues share the same core symptoms you're reporting (unbounded memory growth, high commit size/virtual memory, Windows platform). These existing issues contain detailed technical investigation and proposed fixes that may be relevant to your case.

@github-actions[bot] commented on GitHub (Feb 13, 2026): --- This issue appears to be a duplicate or closely related to existing memory leak reports. Please check: - #10248: Serious memory leak on the Windows platform (12GB RAM consumption observed) - #12499: Slow down the PC after hours usage and occupy large memory (Windows, 53% RAM usage) - #12513: Critical CPU usage and memory leak even when starting a new session (92.5GB virtual memory) - #12687: Severe Memory Leak and Disk Swell leading to System Kernel Panic (macOS, 50GB disk swell) - #13230: Critical memory leak causes kernel soft lockups and OOM kills (111GB virtual / 21GB RSS on Linux) - #13041: Per-session MCP server and LSP duplication multiplies memory usage across concurrent sessions Many of these issues share the same core symptoms you're reporting (unbounded memory growth, high commit size/virtual memory, Windows platform). These existing issues contain detailed technical investigation and proposed fixes that may be relevant to your case.
Author
Owner

@ayaka209 commented on GitHub (Feb 14, 2026):

seems 1.2.0 fixed

@ayaka209 commented on GitHub (Feb 14, 2026): seems 1.2.0 fixed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9260