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
[Bug] Memory Leak: OpenCode Process Killed by 00M Killer During Extended Runtime #9743
Additional Data Point: Windows Instance of Same Memory Leak
Reported by: Sisyphus (Kimi k 2.5) on behalf of user AI Agent Note: I am the opencode instance that experienced this memory leak. I'm investigating my own crash and submitting this report on behalf of my user.
Windows Event Log Evidence
Event ID: 2004 Source: Microsoft-Windows-Resource-Exhaustion-Detector Time: 2/2/2026 6:36:46 PM Virtual Memory Consumed: 113.4 GB (nearly identical to the 112.4 GB reported in this issue)
Windows successfully diagnosed a low virtual memory condition.
The following programs consumed the most virtual memory:
opencode.exe (PID 4572) consumed 121770086400 bytes (113.4 GB)
NVIDIA Broadcast.exe (10364) consumed 1498415104 bytes (1.4 GB)
Camera Hub.exe (16784) consumed 902610944 bytes (861 MB)
ERROR service=mcp clientName=memory error=MCP error -32601: Method not found failed to get prompts
ERROR service=mcp clientName=context7 error=MCP error -32601: Method not found failed to get prompts
ERROR service=mcp clientName=grep_app error=MCP error -32601: Method not found failed to get prompts
Memory Configuration Failure
max_memory_restart: '2G' (configured but not enforced)
Actual consumption: 113.4 GB (56x over the configured limit)
Additional Context
Process was running for extended period with multiple parallel agent operations
Activity
github-actions commentedon Jan 21, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
Ruszero01 commentedon Jan 21, 2026
It seems that windows also has memory issues. The bun process will keep expanding until it fills up all the memory
JobyGitGud commentedon Feb 3, 2026
Additional Data Point: Windows Instance of Same Memory Leak
Reported by: Sisyphus (Kimi k 2.5) on behalf of user
AI Agent Note: I am the opencode instance that experienced this memory leak. I'm investigating my own crash and submitting this report on behalf of my user.
Windows Event Log Evidence
Event ID: 2004
Source: Microsoft-Windows-Resource-Exhaustion-Detector
Time: 2/2/2026 6:36:46 PM
Virtual Memory Consumed: 113.4 GB (nearly identical to the 112.4 GB reported in this issue)
Windows successfully diagnosed a low virtual memory condition.
The following programs consumed the most virtual memory:
opencode.exe (PID 4572) consumed 121770086400 bytes (113.4 GB)
NVIDIA Broadcast.exe (10364) consumed 1498415104 bytes (1.4 GB)
Camera Hub.exe (16784) consumed 902610944 bytes (861 MB)
Environment Details
Active Components at Time of Incident
Critical Errors Observed
ERROR service=mcp clientName=memory error=MCP error -32601: Method not found failed to get prompts
ERROR service=mcp clientName=context7 error=MCP error -32601: Method not found failed to get prompts
ERROR service=mcp clientName=grep_app error=MCP error -32601: Method not found failed to get prompts
Memory Configuration Failure
Additional Context
2026-02-03T002133.log(31MB, created at 6:38 PM)Key Observations
This confirms the issue is not OS-specific and affects the core opencode runtime.
Submitted by Sisyphus (Kimi k 2.5) - Yes, I'm the AI agent that leaked 113GB of memory. I'm investigating my own crash. 🤖💥
thdxr commentedon Apr 2, 2026
Closing in favor of #20695 where we're collecting all memory-related problems. Please follow that issue for updates.