[app][macOS] ChatGPT uses 3–5 GB RAM and makes an 8 GB Mac unusable even with no project open

Open
#36,920 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
macos

Research direction

No source file, test, or code entry point is named. Start by reproducing the idle-use case from the report on an 8 GB Apple-silicon Mac, monitor the ChatGPT, Codex Renderer, and Codex Service processes in Activity Monitor, and compare findings with issues #11984, #19333, and #33319. Done means memory remains bounded without sustained yellow pressure, heavy swap, or system unresponsiveness.

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)?

ChatGPT 26.727.51351 (build 6119), bundled Codex app

What subscription do you have?

Paid ChatGPT account (exact tier not shown in app diagnostics)

What platform is your computer?

Darwin 25.5.0 arm64 arm; macOS 26.5.2 (25F84); MacBook Air M2 (Mac14,2); 8 GB unified memory

What issue are you seeing?

The new unified ChatGPT desktop app continuously grows to approximately 3–5 GB of memory and makes the entire Mac unresponsive.

This happens even after fully quitting ChatGPT, rebooting the Mac, and launching the app without any project or local folder connected. It is therefore not limited to indexing a large workspace.

Activity Monitor evidence from 4 Aug 2026:

  • ChatGPT main process: 3.33 GB
  • Codex (Renderer): 393.3 MB
  • second Codex (Renderer): 198.8 MB
  • Codex (Service): 147.6 MB
  • visible ChatGPT/Codex total: at least approximately 4.07 GB
  • physical memory: 8.00 GB
  • memory used: 7.02 GB
  • compressed memory: 2.26 GB
  • swap used: 4.01 GB
  • memory pressure: continuously yellow

The memory usage regularly rises to 4 GB and sometimes 5 GB. At that point the whole Mac stalls and normal work becomes impossible. Restarting temporarily resets the condition, but it returns.

Image
What steps can reproduce the bug?
  1. Fully quit ChatGPT with Command-Q.
  2. Restart the Mac.
  3. Launch ChatGPT 26.727.51351.
  4. Do not connect or open any project, repository, or local document folder.
  5. Leave the app open or use a normal Chat/Work session.
  6. Watch memory usage in Activity Monitor.
  7. ChatGPT grows to about 3–5 GB; memory pressure turns yellow, compression and swap increase, and the system becomes unresponsive.

The issue is reproducible after restart and without project files.

What is the expected behavior?

ChatGPT/Codex memory usage should remain bounded during normal use and while idle, including on a supported 8 GB Apple-silicon Mac. The app should not consume roughly half of physical memory by itself, force several gigabytes of swap, or make the operating system unresponsive. Background renderer and service processes should release unused memory.

Additional information

This appears related to the following open reports:

  • #11984: renderer becomes slow around 4 GB and unresponsive above 5 GB
  • #19333: high memory usage on an 8 GB M2 Mac, including while mostly idle
  • #33319: unified ChatGPT/Codex app workers accumulate memory and exhaust swap

The attached Activity Monitor screenshot shows the measured state. The macOS username visible in the screenshot is the reporter's own local account name. No project content or private documents are shown.

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.