3 ms·
Even 100MB is crazy. I know RAM is cheap but the absurdity of that amount is beyond me.
by alcover 6y ago
Even 100MB is crazy. I know RAM is cheap but the absurdity of that amount is beyond me.
- fabiospampinato 6y agoIt's a lot for sure, but it's not quite that simple: - First of all the amount of RAM consumed actually depends on how much free RAM you have, Electron thinking it's a browser boggles up some extra RAM "just in case", which is a tread-off that probably works better for actual browsers than the average Electron app. - Secondly while displaying "hello world" costs you ~100MB of RAM the RAM required as the app scales in complexity doesn't scale quite that fast, you may very well work on your app for a year and still need about ~100MB or RAM for it, you'll have to write very inefficient code (or keep a lot of data in memory) for it to require 1GB for JS' heap or something crazy like that. Still ~100MB is a lot for sure, I think a lot of it could be trimmed away if the developers really tried to lower memory usage significantly, like maybe a much more efficient "Electron Mini" could be made with some effort.
- Klonoar 6y agoIt’s not crazy - go run a blank Cocoa app in Xcode and see how much memory it takes. People have unrealistic expectations on this.
- CivBase 6y agoHow many Electron applications do you honestly have running on your computer at any given time such that 100MB each is so concerning? Right now I'm running VS Code and PyCharm, each with an one open project and one open editor. PyCharm is eating 1.8 GB while VS Code is only eating 130 MB. Funny enough, I see people complain about VS Code being a resource-hungry Electron app all the time but I've never seen anyone gripe about the resource usage of JetBrainz IDEs. This isn't an excuse to Electron all the things, but browser-based GUIs do have their place.