Re:I've spent the last two years building a new email client
by Kliment on Wednesday May 02, 2018 @05:39AM
(#16975359)
That's just the base cost of using electron (along with the associated CPU usage). It's terrifying but you get that much usage even if you're not storing anything in memory.
[ Parent
| on HN ]
Re:I've spent the last two years building a new email client
by brandonwamboldt on Wednesday May 02, 2018 @06:10AM
(#16975508)
Well that's just not accurate. With our Electron app, the main process consumes 40mb of RAM, with each window using 30mb of RAM, so if you have a windowed app, thats a minimum of under 70mb of RAM (results will differ, our app is quite large).
Re:I've spent the last two years building a new email client
by Etheryte on Wednesday May 02, 2018 @06:28AM
(#16975592)
Yeah, this is realistic. I wish people would stop perpetuating the myth that "That's just how Electron is". It's perfectly possible to write Electron apps that don't automatically hog half a gig of RAM.
Re:I've spent the last two years building a new email client
by Kliment on Wednesday May 02, 2018 @06:47AM
(#16975696)
That's news to me, and people who make electron stuff tell me they can't get it down below a few hundred mb of memory usage. Can you point me to some resources about reducing that?
Re:I've spent the last two years building a new email client
by Siilwyn on Wednesday May 02, 2018 @07:21AM
(#16975846)
I'm curious too! I found one interesting article about Electron eating memory with images: http://seenaburns.com/debugging-electron-memory-usage/
Re:I've spent the last two years building a new email client
by rsynnott on Wednesday May 02, 2018 @11:20AM
(#16977735)
Are there any examples of Electron apps that don't do that, though? I've never seen one that didn't like to eat at least a few hundred MB, and most of them seem at least somewhat leaky, too.
Re:I've spent the last two years building a new email client
by purerandomness on Wednesday May 02, 2018 @07:07AM
(#16975779)
How are you measuring the RAM usage?