CodexBar icon indicating copy to clipboard operation
CodexBar copied to clipboard

Issue with several chatgpt.com processes eating memory

Open otmanm opened this issue 7 months ago • 4 comments

Hey @steipete, reporting a weird CodexBar issue I ran into.

I noticed several https://chatgpt.com processes in Activity Monitor under codexBar Web Content, using a lot of memory. At one point I had multiple WebKit helpers sitting around, each hundreds of MB.

I checked the process/files and they were tied to CodexBar’s WebKit storage, not the official ChatGPT app. Removing CodexBar stopped it from coming back.

Attaching the screenshot. Might be a stuck WebKit view or leaked ChatGPT session inside CodexBar.

Image

otmanm avatar Apr 15 '26 08:04 otmanm

I have similar issue, it shows as https://chatgpt.com in CPU as well and eats 900MB or ram and uses 100% of CPU.

Image

CrovLune avatar Apr 15 '26 08:04 CrovLune

Same issue. Disabling the "OpenAI Web Extras" for Codex provider seems to help for now.

gndk avatar Apr 16 '26 23:04 gndk

We are adding a battery saver option in the next release to help with this issue. Sorry about this.

ratulsarna avatar Apr 17 '26 07:04 ratulsarna

Closing as fixed/stale against current main. The OpenAI web path is now opt-in, WebKit views are explicitly idled/teardown-managed after use, and the large-history cost-scan fixes avoid background CPU/memory spikes. Live check on the freshly packaged current build: CodexBar remained running and the WebKit helper settled to 0% CPU after launch. If current main still accumulates multiple chatgpt.com/WebKit helpers over time, please file a fresh issue with current logs and enabled-provider settings.

steipete avatar May 10 '26 13:05 steipete