What version of Codex CLI is running?
codex-cli 0.104.0
What subscription do you have?
ChatGPT Team
Which model were you using?
gpt-5.3-codex
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What terminal emulator and version are you using (if applicable)?
Windows Command Prompt (cmd.exe)
What issue are you seeing?
Description
Running codex natively on Windows 10 Pro 64-bit results in persistent and unbounded virtual memory growth, even when no input or interaction occurs.
Over several hours, the codex.exe process continuously increases its committed memory usage until system commit limits are exhausted (approximately 90GB+). This leads to system-wide resource exhaustion and eventual system hang.
The behavior occurs with the Windows sandbox explicitly disabled:
experimental_windows_sandbox = false
No prompts, tasks, or indexing operations were performed. The CLI was left idle.
This strongly suggests a memory leak or unbounded allocation loop occurring while idle.
Environment
- OS: Windows 10 Pro 64-bit (10.0.19045.0)
- CLI: 0.104.0
- Model: gpt-5.3-codex
- Sandbox: disabled
- Shell: cmd.exe
- RAM: 32GB
Steps to Reproduce
Install Codex CLI 0.104.0 on Windows
Configure with sandbox disabled:
experimental_windows_sandbox = false
Run codex in CMD
Do not interact
Leave system idle for several hours
Actual Result
codex.exe committed memory grows continuously
Eventually reaches ~90GB+
Windows reports virtual memory exhaustion
System services begin failing:
Windows Error Reporting stops
Event Log service stops
DHCP services terminate
TLS fatal error 10013 appears
Pagefile too small error reported
System becomes unresponsive (black screen)
Forced power-off required
Kernel-Power unexpected shutdown logged on reboot
Windows diagnostic message:
Windows successfully diagnosed a low virtual memory condition.
The following programs consumed most of the virtual memory:
codex.exe (...) used 99570417664 bytes
Expected Behavior
When idle, Codex CLI should maintain a stable memory footprint.
Memory usage should not grow continuously without interaction, and should never exhaust system commit limits or cause system instability.
Additional Context
Windows sandbox was explicitly disabled.
No heavy scanning, indexing, or long-running operations were executed.
CLI remained idle the entire time.
The issue appears consistent with a memory leak or unbounded resource allocation.
The scale of commit growth (~90GB) caused full system resource exhaustion.
What steps can reproduce the bug?
Install codex-cli 0.104.0 on Windows 10 (10.0.19045.0 x64).
Configure experimental_windows_sandbox = false.
Open Windows Command Prompt (cmd.exe).
Run codex.
Do not execute any prompts or commands.
Leave the process idle for several hours.
Result: codex.exe committed memory grows continuously until it exhausts system commit limits (~90GB), leading to system instability and forced reboot.
What is the expected behavior?
When idle, codex-cli should maintain a stable memory footprint.
Memory usage should not grow continuously without user interaction, and it should never exhaust system commit limits or cause system-wide instability.
Additional information
Windows sandbox was explicitly disabled.
No indexing, scanning, or long-running operations were executed.
The CLI remained completely idle.
Memory growth occurred in commit size, not just working set.
The issue led to system-level resource exhaustion (TLS errors, pagefile exhaustion, service termination).
codex.exe reached approximately 99GB committed memory before failure.
The issue occurs even when codex is left completely idle without any prompt execution.
What version of Codex CLI is running?
codex-cli 0.104.0
What subscription do you have?
ChatGPT Team
Which model were you using?
gpt-5.3-codex
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What terminal emulator and version are you using (if applicable)?
Windows Command Prompt (cmd.exe)
What issue are you seeing?
Description
Running codex natively on Windows 10 Pro 64-bit results in persistent and unbounded virtual memory growth, even when no input or interaction occurs.
Over several hours, the codex.exe process continuously increases its committed memory usage until system commit limits are exhausted (approximately 90GB+). This leads to system-wide resource exhaustion and eventual system hang.
The behavior occurs with the Windows sandbox explicitly disabled:
experimental_windows_sandbox = false
No prompts, tasks, or indexing operations were performed. The CLI was left idle.
This strongly suggests a memory leak or unbounded allocation loop occurring while idle.
Environment
Steps to Reproduce
Install Codex CLI 0.104.0 on Windows
Configure with sandbox disabled:
experimental_windows_sandbox = false
Run codex in CMD
Do not interact
Leave system idle for several hours
Actual Result
codex.exe committed memory grows continuously
Eventually reaches ~90GB+
Windows reports virtual memory exhaustion
System services begin failing:
Windows Error Reporting stops
Event Log service stops
DHCP services terminate
TLS fatal error 10013 appears
Pagefile too small error reported
System becomes unresponsive (black screen)
Forced power-off required
Kernel-Power unexpected shutdown logged on reboot
Windows diagnostic message:
Expected Behavior
When idle, Codex CLI should maintain a stable memory footprint.
Memory usage should not grow continuously without interaction, and should never exhaust system commit limits or cause system instability.
Additional Context
Windows sandbox was explicitly disabled.
No heavy scanning, indexing, or long-running operations were executed.
CLI remained idle the entire time.
The issue appears consistent with a memory leak or unbounded resource allocation.
The scale of commit growth (~90GB) caused full system resource exhaustion.
What steps can reproduce the bug?
Install codex-cli 0.104.0 on Windows 10 (10.0.19045.0 x64).
Configure experimental_windows_sandbox = false.
Open Windows Command Prompt (cmd.exe).
Run codex.
Do not execute any prompts or commands.
Leave the process idle for several hours.
Result: codex.exe committed memory grows continuously until it exhausts system commit limits (~90GB), leading to system instability and forced reboot.
What is the expected behavior?
When idle, codex-cli should maintain a stable memory footprint.
Memory usage should not grow continuously without user interaction, and it should never exhaust system commit limits or cause system-wide instability.
Additional information
Windows sandbox was explicitly disabled.
No indexing, scanning, or long-running operations were executed.
The CLI remained completely idle.
Memory growth occurred in commit size, not just working set.
The issue led to system-level resource exhaustion (TLS errors, pagefile exhaustion, service termination).
codex.exe reached approximately 99GB committed memory before failure.
The issue occurs even when codex is left completely idle without any prompt execution.