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
- Anthropic researcher: 99% of engineers now run swarms of 300+ self-improving agents — AlishaOutridge · 2026-09-11
- Gergely Orosz: Shipping 10x PRs With AI Agents, Sites Fill With Small Regressions — ducha_aiki · 2026-09-11
- Same Echo Maze prompt, three frontier models: all passed visually but shipped the same hidden bug — eyishazyer · 2026-09-11
- Astra storyboards plus Minimax H3 per-shot generation boost video success rates — Hailuo_AI · 2026-09-11
- Codex tip: use Sol with Astra and Luna sub-agents to save usage — pvncher · 2026-09-11
- agents-best-practices: a provider-neutral Agent Skill for designing and auditing agentic harnesses — tom_doerr · 2026-09-11