762
RAM prices soar, but popular Windows 11 apps are using more RAM due to Electron, Web components
(www.windowslatest.com)
This is a most excellent place for technology news and articles.
I really wish Electron wasn't as popular as it is. It's such a fucking memory hog. I mean, sure, I've got RAM to spare, but I shouldn't need that much for a single app.
Yes, it runs a separate browser instance for each electron program. Many of the programs that use it could just be a PWA instead.
I wonder how much exact duplication each process has?
https://www.kernel.org/doc/html/latest/admin-guide/mm/ksm.html
One imagines that one could maybe make a library interposer to induce use of that.
I guess the key is it has to be the same version of electron in the back end. If they change too much of it then how much memory can be shared?