Windows Codex Desktop update causes severe memory pressure and destabilizes Windows
What version of the Codex App are you using (From “About Codex” dialog)?
Latest available Windows Codex Desktop version as of June 25, 2026; exact build number not visible/available
What subscription do you have?
Enterprise
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
After recent Codex Desktop updates on Windows, launching Codex causes severe system resource pressure.
Observed behavior:
Codex launches with approximately 15 Codex processes.
Task Manager shows Memory rising to 99% and CPU around 51%.
Microsoft Teams closes or becomes unstable after Codex is launched.
After ending Codex, Memory drops to approximately 24%, CPU drops to approximately 9%, and Teams remains stable.
This started after recent Codex updates. I have seen at least three Codex updates within the last seven days.
Expected behavior:
Codex should not consume nearly all system memory or destabilize unrelated applications such as Microsoft Teams.
Impact:
This affects my work machine and prevents me from safely using Codex Desktop while Teams and other work applications are open.
Chrome and Microsoft Teams together run multiple processes but keep system memory around 36%. By contrast, launching Codex Desktop caused memory to spike to 99% with approximately 15 Codex processes, after which Teams became unstable or closed.
Evidence:
Screenshot showing Codex running with 15 processes and system Memory at 99%.
Screenshot after Codex is closed showing Memory reduced to 24% and Teams stable.
Environment:
OS: Windows
App: Codex Desktop
Codex version/build: Latest available Windows Codex Desktop version as of June 25, 2026; exact build number not visible/available.
Microsoft Teams running at the time: Yes
Chrome running at the time: Yes
This appears to be a Windows Codex Desktop resource/memory regression introduced by a recent update.
<img width="1190" height="1014" alt="Image" src="https://github.com/user-attachments/assets/6329d0fe-a5ed-4d78-940d-043c53afd524" />
What steps can reproduce the bug?
Steps to reproduce:
- On Windows, make sure Microsoft Teams and Google Chrome are open.
- Launch the latest available Windows Codex Desktop app.
- Observe Task Manager immediately after Codex launches.
- Codex opens approximately 15 processes.
- System memory rises sharply, reaching approximately 99%.
- CPU rises to approximately 51%.
- Microsoft Teams becomes unstable and/or closes.
- End the parent Codex process group in Task Manager.
- Observe that system memory drops back down significantly, approximately 24% in my test, and Teams remains stable again.
Bug behavior:
After recent Codex Desktop updates on Windows, launching Codex causes severe system resource pressure. Task Manager showed Codex running approximately 15 processes while system Memory rose to 99% and CPU rose to approximately 51%. Microsoft Teams then became unstable or closed. After ending Codex, Memory dropped to approximately 24%, CPU dropped to approximately 9%, and Teams remained stable.
This started after recent Codex Desktop updates. I have seen at least three Codex updates within the last seven days.
Expected behavior:
Codex Desktop should launch without consuming nearly all system memory and should not destabilize unrelated applications such as Microsoft Teams.
Code snippet / reproducibility note:
No code snippet is required to reproduce this issue. The bug reproduces by launching the Windows Codex Desktop app itself. This appears to be a Windows Codex Desktop resource/memory regression, not a bug caused by a particular repository command or code file.
Session ID:
Not available. I am unable to keep Codex Desktop open long enough to generate or retrieve a session ID because launching the app causes severe system resource pressure and destabilizes Microsoft Teams.
Token/context usage:
Not applicable or not available. The issue occurs at app launch/resource level, not during a specific long-context Codex task.
Context window usage:
Not applicable or not available. The issue occurs when launching Codex Desktop and observing Windows Task Manager.
What is the expected behavior?
Expected behavior:
Codex Desktop should launch normally on Windows without causing severe system resource pressure. It should not consume nearly all available memory, spawn excessive active processes, or destabilize unrelated applications such as Microsoft Teams.
Microsoft Teams, Google Chrome, and other open work applications should remain stable while Codex Desktop is running. If Codex requires additional resources during startup, usage should remain within normal limits and should not cause system memory to rise to 99% or force other applications to close.
Additional information
_No response_
6 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Update: Issue reproduced after Repair in a new chat
I tested again after using the Windows app Repair feature.
Result:
Task Manager during new-chat test:
codexprocess showed approximately 1,425.6 MB memory.Current status:
Screenshots attached:
Additional confirmation after ending Codex:
After the new-chat test reproduced the issue, I ended the Codex process group.
Result after shutting down Codex:
This further confirms that Codex Desktop is the trigger for the severe resource/memory pressure.
<img width="1642" height="1017" alt="Image" src="https://github.com/user-attachments/assets/a99f0178-3620-4144-99f8-e84820ea32b8" />
<img width="1469" height="673" alt="Image" src="https://github.com/user-attachments/assets/12d91139-5759-4bf2-a69d-0bf9b3982242" />
<img width="927" height="402" alt="Image" src="https://github.com/user-attachments/assets/007aa45d-c251-47d1-a1ff-b85f269e1772" />
Additional update: Codex crashed with memory allocation failure
Codex has now crashed and displayed an explicit memory allocation error.
Error shown in Codex:
This appears directly related to the previously reported memory/resource-pressure issue. Earlier testing showed system Memory rising to 99% while Codex was running. Codex now reports a memory allocation failure and the app-server is unavailable, which also explains the chat resume/loading failures.
Screenshot attached showing the crash/error screen.
<img width="1507" height="935" alt="Image" src="https://github.com/user-attachments/assets/8edd44e4-abf4-4d1c-9c54-1965f68e3540" />
Additional profile reset/repair update:
A local Codex profile reset/repair was completed.
What changed:
C:\Users\miquadri\AppData\Local\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Roaming\Codex\web\Codex.pre-reset-20260625-162830Codex.backup-20260625-160050Codex.backup-20260625-160627Result after reset:
codex.exebackend process again grew abnormally, reaching approximately 8.4 GB working set/private memory.Current status:
Additional update: likely trigger identified — oversized local session file
I found and quarantined a likely local trigger for this Windows Codex Desktop memory/resource-pressure issue.
A single Codex session file in the active local sessions path was approximately 16.9 GB:
I moved/quarantined the file instead of deleting it.
After quarantining that file, active Codex sessions were reduced to approximately 0.38 GB.
The live
codex.exe app-serverprocess was still inflated at the time of discovery, reaching approximately 47 GB private memory, with system committed memory around 62.5 GB. It appears that the app-server does not release the memory until Codex is fully restarted or the process is ended.This suggests the issue may be triggered when Codex Desktop attempts to scan, hydrate, resume, or index an extremely large
.jsonlsession file. In this case, the oversized session appears to be associated with an old long-running project chat used to build the FA AI Examiner Desk application.Important clarification:
restart:cleanpassed.200.Current status:
.codex\sessionspath.This may point to a needed guardrail in Codex Desktop: it should detect extremely large/corrupt session
.jsonlfiles and avoid loading them into the app-server in a way that can drive Windows memory/commit usage to exhaustion.Final clarification:
I closed this issue after identifying and quarantining a likely local trigger: a single oversized Codex session
.jsonlfile of approximately 16.9 GB inC:\Users\miquadri\.codex\sessions.However, I want to clarify the product concern.
Even if that oversized session file was the immediate trigger on my machine, Codex Desktop should be able to tolerate many chats and long-running sessions without causing Windows memory/commit exhaustion or system instability. At minimum, Codex Desktop should detect oversized or corrupt session files and handle them safely instead of allowing the
codex.exe app-serverprocess to grow into tens of GB of private memory.Expected guardrails would include:
.jsonlsession files;The issue is mitigated locally by quarantining the 16.9 GB session file, but the underlying Codex Desktop behavior remains a product reliability concern. End users should be able to maintain many Codex chats without the desktop app destabilizing the system.