anomalyco / anomalyco/opencode

System freeze and forced shutdown when running multiple sessions under heavy use (Mac M4)

Open
#39,292 1 comment 1 reaction 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.