Re:Electron considered harmful
by Mithaldu on Thursday November 24, 2016 @01:39PM
(#13031968)
Even if the app is smaller on drive, it still takes ~200mb in ram for even the smallest apps.
[ Parent
| on HN ]
Dropbox itself takes 200Mb and its a simple python app. Google drive takes 300Mb. VSCode takes about 100Mb of ram with a project opened right now. Even my Emacs takes 250Mb and I literally live inside it.
All of them have at least 2Gb of virtual memory being mapped to them. Yet I still have 9Gb of free ram.
If you want to go against bloat, you might just as well uninstall every single software from your computer, including its OS.
Literally? I demand a photo of you inside emacs
Meanwhile my webserver that serves 8 websites (some static sites, some sophisticated web apps) sites at 80 MB used RAM. For everything. You can't make this up.
Your web server also doesn't run X11 or any window managers nor any gui apps.
That's true, but I don't see anything in that list that needs to use multiple hundreds of MB of RAM. To witness, we had GUI apps in 1995. They look a bit nicer these days, but not multiple-100-MB nicer. :)
Emacs is far older than 1995 and still eating 250Mb :)
And there was a time when "Emacs" expanded to "eight megabytes and constantly swapping". :)
>VSCode takes about 100Mb of ram with a project opened right now.
I call bullshit on that one.
I currently have VS Code running with 7 files open, and it's using 83Mb. Like a browser, I imagine the RAM goes up with each tab, so it all depends on how many files you have open.
Well I just closed all files, disabled all extensions, restarted it and it's consuming 508MB.
Each of those apps does a lot more than the most common use for electron: "online messengers"
Also, you're arguing in typical FYGM fashion. Not a good look.
I was merely comparing an Electron app (VSCode, not at all an "online messenger") to average apps running on the desktop because your original comment implied "200Mb for the smallest apps" which isn't true.
You could've said that clearly instead of making people guess what you're talking about.
No idea why VSCode is being sparing for you, but i've seen plenty of electron-based online messengers use that much just by running.