[app][macOS][26.707.91948] ChatGPT/Codex repeatedly grows to 55 GB and freezes the system

Open
#33,582 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
macos

Research direction

Start by reproducing the issue with the unified ChatGPT/Codex app during ongoing Codex tasks on macOS, then inspect the renderer, node_repl, codex-code-mode-host, and Codex app-server process tree as memory grows. Compare the evidence with issues #33319, #19333, #18589, and #12491; done means memory stabilizes or the app warns and limits resource use before system-wide memory exhaustion.

Written by the indexing model from the issue text.

Description

app bug performance
What version of the Codex App are you using (From “About Codex” dialog)?

26.707.91948 (build 5440)

What subscription do you have?

Unknown (signed-in Codex desktop user)

What platform is your computer?

Darwin 25.5.0 arm64 arm

  • macOS 26.5.2 (25F84)
  • MacBook Pro (MacBookPro18,3)
  • Apple M1 Pro
  • 16 GB RAM
What issue are you seeing?

The unified ChatGPT/Codex macOS app repeatedly grows until it exhausts application memory and freezes the whole computer.

The macOS Force Quit window reported:

  • ChatGPT: 55.31 GB
  • Claude: 5.69 GB
  • Microsoft Teams: 3.66 GB
  • Parallels Desktop: 4.30 GB
  • Chrome: 897.4 MB

ChatGPT was by far the largest consumer. macOS displayed: Your system has run out of application memory. Multiple unrelated applications were marked as paused.

This is not a one-time event. Quitting or restarting ChatGPT/Codex temporarily restores memory usage to below approximately 1 GB, but the leak returns during continued Codex use and the machine freezes again.

The app was freshly auto-updated on 2026-07-16 and the installed build matches the latest official appcast entry, so there is no newer update available.

After restarting the app following the incident, macOS still showed approximately 2.07 GB of swap in use.

What steps can reproduce the bug?
  1. Open the unified ChatGPT desktop app and use Codex for local development tasks.
  2. Keep the app running through ongoing or long tasks.
  3. Memory usage grows over time.
  4. Eventually macOS reports that application memory is exhausted and pauses unrelated apps.
  5. Force quit or restart ChatGPT/Codex.
  6. Memory returns to normal temporarily, but the same problem recurs during subsequent use.

The workload includes code-mode tasks and may include MCP/browser workers. At the time of the post-restart inspection, the normal ChatGPT/Codex process tree included renderer processes, two node_repl processes, codex-code-mode-host, and the Codex app-server. No large orphan-process accumulation was visible after restart, so the exact leaking child from the incident could not be identified retroactively.

What is the expected behavior?

ChatGPT/Codex memory should stabilize at a reasonable level and reclaim renderer, browser, MCP, and Node worker resources after tasks complete. It must not consume tens of gigabytes, exhaust swap, or suspend unrelated applications.

The app should enforce an aggregate memory budget or stop and warn before causing a system-wide memory emergency.

Additional information

This reproduces on the latest build available on 2026-07-16 and appears related to:

  • #33319
  • #19333
  • #18589
  • #12491

The new evidence here is recurrence on version 26.707.91948 / build 5440 with the ChatGPT resource coalition reaching 55.31 GB on a 16 GB Apple Silicon Mac. A screenshot of the Force Quit window is available if maintainers need it.

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.