Never mind Electron. Soon it will become normal to install web apps on desktop, directly from the browser—it will be basically a website rendered in a separate window without any browser UI. That system will not have Electron’s memory problems.
Memory problems aren't inherent to electron, they are inherent to html/js apps and you can also see that in chrome by opening up your task manager. Even small websites with minimal content end up taking 100+mb in memory.
It has always been possible to install web apps from browser, chrome has supported it since a number of years but they haven't caught on as much.