News for hackers. Stuff that matters.
Re:Doing work locally minimizes problems with Electron apps by CharlesW on Tuesday June 25, 2019 @10:46AM (#20274723)
It's relative. Outlook is using 2.37 GB of RAM as I type this.
Re:Doing work locally minimizes problems with Electron apps by jeroenhd on Tuesday June 25, 2019 @10:58AM (#20274866)
That too is relative. My copy of Thunderbird with 6 open emails from six open mailboxes is consuming about 170MB of memory right now, and that's hosting a fully-featured browser to view emails.

Granted, that's reserved memory, but that's the only memory you really need to worry about anyway.

Of course, native doesn't make a program automatically use less RAM. It does start with a lower footprint through, meaning that you can keep an eye on memory usage without relying on ugly hacks in your code.

Re:Doing work locally minimizes problems with Electron apps by Sahhaese on Tuesday June 25, 2019 @10:55AM (#20274828)
That's odd, OUTLOOK.EXE is using 44MB of ram as I type this and has been open for 7 hours.
Re:Doing work locally minimizes problems with Electron apps by LandR on Tuesday June 25, 2019 @11:00AM (#20274902)
Same here, Outlook has been open from 9am > 4pm and it's using 64MB.
Re:Doing work locally minimizes problems with Electron apps by GrinningFool on Tuesday June 25, 2019 @12:18PM (#20275741)
Is it minimized? IIRC on Windows, when an application is minimized the working set is trimmed which can result in a significant reduction - but it jumps back up when you start using the application again.
Re:Doing work locally minimizes problems with Electron apps by toyg on Tuesday June 25, 2019 @11:19AM (#20275109)
Maybe a Mac. My Outlook on mac is idling at 150MB.
Re:Doing work locally minimizes problems with Electron apps by CharlesW on Tuesday June 25, 2019 @12:57PM (#20276252)
Yes, this is Office 365 on macOS. Neither the computer nor Outlook have been restarted in weeks, which is surely contributing to its current RAM footprint.
Re:Doing work locally minimizes problems with Electron apps by Yetanfou on Tuesday June 25, 2019 @11:35AM (#20275282)

   $ ps -eo rss,cmd |grep claws-mail|grep -v grep
   36016 claws-mail
37 MB, 4 accounts open, one of them holding ~10.000 messages (i.e. which need to be archived but it not being my account I'm not the one to do so)
Re:Doing work locally minimizes problems with Electron apps by hackerooo on Tuesday June 25, 2019 @12:18PM (#20275731)
Amazing. You must be 100 times more productive than the parent above whose mail app uses 2300 MB. You must be able to do soooo much more with such efficient tools.
Re:Doing work locally minimizes problems with Electron apps by dang on Wednesday June 26, 2019 @03:02AM (#20282522)
Could you please follow the site guidelines so we don't have to ban you again?

https://news.ycombinator.com/newsguidelines.html

Re:Doing work locally minimizes problems with Electron apps by ionised on Tuesday June 25, 2019 @12:05PM (#20275585)
It's not relative at all. That's just awful.
Re:Doing work locally minimizes problems with Electron apps by CharlesW on Tuesday June 25, 2019 @12:58PM (#20276268)
Is it? Google Chrome and its associated process are using 5.1 GB of RAM. That's why it's tough for me personally to get worked up about 300 MB.
Re:Doing work locally minimizes problems with Electron apps by jcelerier on Tuesday June 25, 2019 @05:37PM (#20279238)
most people have computers with 4gb of ram
Re:Doing work locally minimizes problems with Electron apps by ionised on Tuesday June 25, 2019 @07:06PM (#20280139)
This.

Developers shouldn't be assuming that their users will have machines even close to theirs spec-wise.

Re:Doing work locally minimizes problems with Electron apps by ionised on Tuesday June 25, 2019 @07:03PM (#20280098)
And yet my Firefox with 48 open tabs and a bunch of addons is currently sitting at 1.2GB.

Chrome is awful with resource usage to begin with, which is why Electron is, it bundles and runs a headless Chrome for each Electron app.

Re:Doing work locally minimizes problems with Electron apps by amiga-workbench on Tuesday June 25, 2019 @11:03AM (#20274939)
Is that supposed to be acceptable?
Re:Doing work locally minimizes problems with Electron apps by CharlesW on Tuesday June 25, 2019 @03:28PM (#20277932)
It's not a judgement either way. I'm just noting that apps like Outlook and Chrome can eat GB of RAM, so Electron's overhead isn't a huge deal for me personally.
Re:Doing work locally minimizes problems with Electron apps by opportune on Tuesday June 25, 2019 @09:03PM (#20280948)
My outlook is using 183MB. Meanwhile, Spotify (an electron app) is using 467MB.