Why does Codex crash every time I open it? Finally found the reason! Because I am a heavy user of Codex, I usually start with 6G of memory, and sometimes it will increase several times, until it freezes. During this period, with Tibo's reset benefits, my macmini basically runs 7*24. The most effective, simple and direct way is to completely exit and restart Codex, hhh This is the advice Codex gave me: 1 Completely exit and reopen Codex, first clear the current 7 sets of residual MCP. Merely closing the window does not necessarily exit the background process. High-occupancy MCPs are turned off by default: 2 Keep the low-occupancy and commonly used node_repl, openai-developers, and cowart; if browser automation and image editing are rarely used, they can also be closed together. Limit the number of active tasks running at the same time to 1–2. Currently, there are only 2 active tasks, but 7 sets of tool processes have been accumulated. The more background tasks, the easier it is to amplify the problem. Optional Optimization Chronicle currently takes up approximately 0.29 GB. Turning off automatic memory/desktop recording can continue to reduce usage, but the historical context will be lost, so it is recommended to keep it for now. Avoid loading lots of images, video previews and browser pages continuously in the same long task, Renderer/GPU currently totals about 1.7 GB and may peak at over 3 GB. Completely exit the Codex every few days until MCP lifecycle issues are resolved in the new version. It is expected that after a full reboot and streamlining the high-occupancy MCP, normal can be reduced from about 5.7 GB to
- 4–4.0 GB. The core App, Renderer, and GPU themselves still take up about 3 GB and are difficult to completely eliminate through configuration.
