[Windows Desktop][26.803.10989.0] Memory grows to 8.8 GB while idle and UI freezes after 1-2 messages
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- PR merge metrics
- PR metrics pending
Description
Environment
- Codex Desktop Microsoft Store package:
OpenAI.Codex 26.803.10989.0(x64) - Also reproduced on the previous installed version:
26.803.8161.0 - OS: Windows 11 Home x64, version
10.0.26200, build26200 - CPU: AMD Ryzen 7 7735HS
- RAM: 32 GB (31.2 GB usable)
- GPUs: AMD Radeon Graphics (
32.0.11038.3) and NVIDIA GeForce RTX 4060 Laptop GPU (32.0.16.1047) - Parsec Virtual Display Adapter is installed (
0.45.0.0)
Summary
Codex Desktop's ChatGPT.exe child processes progressively consume memory even when no Codex task is running. The app then becomes unresponsive, commonly after only one or two messages, and must be fully restarted. Restarting temporarily lowers memory usage, but the behavior returns.
This persists after reducing the local profile to only 9 active threads and zero open subagent edges, so it does not appear to require thousands of active threads or one unusually large active conversation.
Observed behavior
- In a Task Manager screenshot taken while Codex had no active task, the
ChatGPT (11)process group used 8,823.6 MB and about 22.2% CPU. - The three largest
ChatGPT.exechild processes in that idle capture used about 4,247.0 MB, 2,500.2 MB, and 1,620.9 MB. codex.exeitself was only about 25.6 MB in that capture; the large consumers wereChatGPT.exechildren.- An earlier idle capture showed 4,682.8 MB total, including one
ChatGPT.exeprocess at 3,114.0 MB. - In a fresh launch of the current build, the 12 Codex/ChatGPT processes had already reached 2,738.6 MB working set / 2,404.8 MB private memory after 4.3 minutes.
- Windows Event Viewer recorded
Application Hangevent 1002 forChatGPT.exeon 2026-08-11, stating that the program stopped interacting with Windows and was closed. - Windows Error Reporting also recorded
RADAR_PRE_LEAK_64forChatGPT.exeon 2026-08-08. - The rest of Windows remains usable. Restarting Codex restores it only temporarily.
Steps to reproduce
- Launch Codex Desktop on Windows.
- Open a small local thread or simply leave the app open with no agent task running.
- Send one or two short messages, or leave the app idle for a while.
- Observe the
ChatGPT.exechild-process memory increasing progressively in Task Manager. - Try to send another message. The UI eventually stops responding; sometimes the message is not submitted at all.
- Fully restart Codex. Memory drops temporarily, then the same growth and freeze recur.
The exact time to failure varies, but on this machine the app currently needs restarting after roughly every second message.
Expected behavior
When no task is running, Codex Desktop memory and CPU usage should stabilize. Sending ordinary messages should not make the renderer/UI stop responding, and the app should not require repeated full restarts.
Troubleshooting already attempted
- Updated from
26.803.8161.0to26.803.10989.0. - Fully exited and restarted Codex repeatedly.
- Moved about 723 MB of Codex logs, Sentry queue data, and renderer/browser caches to a recoverable backup; no improvement.
- Disabled
multi_agent; no improvement. - Backed up the local state, closed 68 stale open subagent edges, and reduced active local threads from 73 to 9 with 0 open edges; no improvement.
- Cold-archived the two largest rollout histories (one local rollout around 510 MB, and one remote thread tree around 1.70 GB); no improvement.
- Verified that the machine has 32 GB RAM and an adequate Windows page file; this is not a simple out-of-memory configuration.
The cleanup result distinguishes this from reports that reproduce only with thousands of active thread metadata rows. The issue still reproduces with 9 active local threads.
Privacy and diagnostics
Raw session JSONL, SQLite databases, and application logs are not attached publicly because they can contain prompts, local paths, tool output, and private project data. Sanitized Task Manager screenshots with the per-process breakdown are available, and additional aggregate diagnostics can be provided if maintainers request them.
Possibly related
- #24510 - unbounded active thread metadata/history processing
- #21134 - renderer/app-server memory growth on long threads
- #20214 - frequent Windows UI freezes/stutters
- #34907 - Windows high CPU and UI freezes on an older build
- #33582 - severe Desktop memory growth on macOS
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the growth on Windows with a small local thread or no active task, then monitor the ChatGPT.exe child processes in Task Manager and review the reported Application Hang and RADAR_PRE_LEAK_64 events. Compare behavior after a restart and with the reduced local state; done means idle memory and CPU stabilize and ordinary messages no longer freeze the UI.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop-dev, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100