Codex Desktop Suffers Severe Process Leaks on Windows
andrewaltair · reddit · 2026-07-15
The author discovered a severe process leak while using Codex Desktop on Windows. After running for an extended period, CPU usage spiked to 100%, available memory dropped to 2.3GB out of 32GB, and associated child processes ballooned to 642. This included numerous duplicate instances of Python, Node, OpenBB MCP, FFmpeg MCP, Video Research MCP, and Node REPL.
After manually terminating these duplicate helper processes, CPU usage immediately dropped to 11%, available memory rebounded to 17.9GB, and the child process count decreased significantly. The issue appears to be that Codex continuously spawns new MCP/tool servers when loading tasks or tools, but fails to properly clean up old processes. Restarting provides temporary relief, but the processes eventually accumulate again.
More from coding & agent
- Building a Secure AI Agent Gateway: Self-Hosting OAuth for Multiple SaaS Apps — Defiant_Cod_2654 · 2026-07-22
- Rowboat launches as an open-source, local-first AI coworker with memory — ycombinator · 2026-07-22
- Reddit user chains Ideogram 4 and Krea2 to mimic bbox-based image positioning — v3lh0t05c0 · 2026-07-22
- Apollo Cuts AI Assistant Skill Dev Time by 85% with Deep Agents — LangChain · 2026-07-22
- Scoble says AI “loops” really means long-running multi-agent workspaces — Scobleizer · 2026-07-22
- Kimi Code opens a waitlist as Moonshot rolls out its coding product — Fabulous_Bonus_8981 · 2026-07-22