[Bug] Unbounded thread creation causes out-of-memory condition

Resolved 💬 2 comments Opened Apr 8, 2026 by KhanMechAI Closed May 22, 2026

Bug Description
there's something that happens that spins up thousands of threads and OOM's my system. this is the only command that saved me until i could find the session that was responsible. i htink it was htis session: for pid in (pgrep -f "bash.*claude")
kill -9 $pid
end

Environment Info

  • Platform: linux
  • Terminal: ghostty
  • Version: 2.1.96
  • Feedback ID: 7ebfa0f0-a5e5-47f1-bf40-d5529b0a6e74

Errors

[{"error":"Error: rg --files exited 2\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:539:84)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T20:05:30.447Z"}]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗