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] Filtering the model list and resulting in an empty list causes a memory leak + high cpu spiral #6433
When filtering the model selection list in the TUI, typing a character that results in no matches (an empty list) causes the application to enter a CPU and memory spiral. This results in 100% CPU usage and rapid memory consumption, eventually crashing the system or requiring the process to be killed manually.
OpenCode version
1.0.209
Steps to reproduce
Fresh session
/models or <leader>+m
Type a query that results in an empty list, e.g: "unknown"
OpenCode hangs and causes a memory leak and high cpu usage spiral
Expected Behavior
The list should simply display an empty state or "No results found" message without affecting system performance or stability.
Activity
github-actions commentedon Dec 30, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.