anomalyco / anomalyco/opencode
System freeze and forced shutdown when running multiple sessions under heavy use (Mac M4)
@Brendonovich is already working on this.
Since Jul 28, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Environment
- Machine: Mac M4
- OS: macOS
- Usage pattern: Heavy use, multiple concurrent sessions
What happens
Under heavy use with multiple sessions open simultaneously, the system frequently freezes completely, requiring a forced shutdown (hard power off). This is not just the app becoming unresponsive — the entire machine locks up.
Expected behavior
Multiple sessions should run without causing system-level instability. At worst, the application itself should degrade gracefully rather than freezing the OS.
Suspected areas
- Memory leak across concurrent sessions
- Zombie / orphan processes not being reaped
- Resource contention (file descriptors, CPU, or memory) under parallel workloads
Additional context
This is reproducible under sustained multi-session usage, not a one-off occurrence. Happy to provide additional diagnostics (Activity Monitor snapshots, ps output, system logs) if helpful.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.