Heads-up: ultracode / dynamic workflows can chain-spawn local processes and spike host memory

Resolved 💬 2 comments Opened May 29, 2026 by allenfu000 Closed Jun 2, 2026

When ultracode (dynamic workflows) is on, Claude spawns subagents automatically, and those subagents can in turn spawn their own local shell/script processes (e.g. PowerShell on Windows). That nesting can multiply fast - a few agents each launching several scripts, some of which may hang and never exit, can pile up enough local processes to spike host RAM and slow down or crash the machine, including other Claude Code windows open at the same time.

It does not happen every time, but it might be worth bounding the number of concurrent local processes (not just the agent count) and making sure spawned processes get cleaned up / timed out.

Environment: Claude Code v2.1.156, Windows 11, Opus 4.8

View original on GitHub ↗

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