It's not a memory problem at all. It's the misuse of a private API that's at fault:

https://www.theregister.com/2025/10/02/macos_26_electron_slo...

But if the "private API" was the only way of fixing an issue with rendering corner smoothing, was it "misuse"?

The developer who submitted the fix thinks so:

"I need to be clear about this, Electron's "_cornerMask" override was a dirty hack that was made in an effort to fix an ancient issue with corner smoothing."

https://github.com/electron/electron/issues/48311#issuecomme...