See:
- electron/electron#48311 (comment)
- https://mjtsai.com/blog/2025/09/30/electron-apps-causing-system-wide-lag-on-tahoe/
Fixed versions:
- 36.9.2
- 37.6.0
- 38.2.0
- 39.0.0
- and all above 39
This script detects apps with not yet updated versions of Electron.
Run
launchctl setenv CHROME_HEADLESS 1on every system start. The CHROME_HEADLESS flag has a side effect of disabling Electron app window shadows, which makes them ugly, but also stops triggering the issue.

To persist the
CHROME_HEADLESSworkaround you can create a launch agent:Create file
~/Library/LaunchAgents/environment.fix-electron-resource-hog-bug.plistthen run:
launchctl load ~/Library/LaunchAgents/environment.fix-electron-resource-hog-bug.plistAlternatively you can do it at
/Library/LaunchAgents/environment.fix-electron-resource-hog-bug.plistif you want it to work for all users.