[Bug] Excessive memory consumption with multiple subagents causes system hang
Resolved 💬 3 comments Opened Mar 9, 2026 by DanielPBak Closed Mar 13, 2026
Bug Description
Claude code requested 26GB of memory and hanged my terminal, forcing a complete force-crash and losing work progress. Happened while running multiple subagents. Ideally subagents should just crash rather than requesting more memory than exists on the device.
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.71
- Feedback ID: ad42f682-e14d-4aaa-9dd5-9d0f10f8b443
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/danielbak/.local/share/claude/versions/2.1.71 (expected in multi-process scenarios)\n at Xxq (/$bunfs/root/src/entrypoints/cli.js:2603:2066)\n at zU8 (/$bunfs/root/src/entrypoints/cli.js:2603:1210)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-09T22:17:06.627Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:321:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-09T22:17:26.287Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗