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
Windows: Process explosion and severe memory leak on startup #32274
Bug Report: Windows Client - Process Leak and High Memory Usage on Launch
Description
After installing or reinstalling OpenCode on Windows, launching the app spawns numerous extra processes. Memory usage rises rapidly, accompanied by high CPU load, and the program eventually freezes and becomes unresponsive.
I have tried all common fixes with no improvement:
Reboot the computer
Install and run the program as administrator
Complete uninstall and full cleanup of all config and cache folders
Re-download the installation package for a fresh install
Steps to Reproduce
Download the latest OpenCode installer from official site
Install with default settings
Launch OpenCode
Check Task Manager: multiple processes start up right away, memory keeps increasing, and the UI stops responding soon after
OpenCode version
Latest official release
Operating System
Windows 11 (64-bit)
Terminal
Default Windows environment, no custom terminal applied
Expected Behavior
The app launches with a normal number of processes and stable, reasonable memory usage, and keeps responsive during use.
Actual Behavior
Multiple redundant processes are created on startup. Memory and CPU usage keep climbing continuously, leading to program freeze. I have to force end the processes to close it.
Additional Context
This issue has the same symptoms as existing tracked problems #28680 and #20695 related to memory leak on Windows. I can provide logs or screenshots if required.
No issue template was used. Please use one of the three required templates: Bug Report, Feature Request, or Question. Each template has required fields that must be filled in.
The bug report template requires specific fields (Description, Steps to Reproduce, OpenCode version, Operating System, Terminal, etc.). The current issue is missing structured template fields.
Version information is listed as a placeholder ("安装包的版本号" / "the version number of the installer") rather than an actual version.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Memory Megathread #20695: Memory Megathread — the canonical tracking issue for memory/performance problems; maintainers are actively collecting heap snapshots there
If you believe this was flagged incorrectly, please let a maintainer know.
Thanks for updating the issue! It now meets the contributing guidelines and has all the required information. We appreciate you taking the time to improve it.
Activity
yanmingzhang2000 commentedon Jun 14, 2026
github-actions commentedon Jun 14, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.
[-]真难搞啊一直无响应[/-][+]Windows: Process explosion and severe memory leak on startup[/+]github-actions commentedon Jun 14, 2026
Thanks for updating the issue! It now meets the contributing guidelines and has all the required information. We appreciate you taking the time to improve it.
github-actions commentedon Aug 14, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.