Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati...
by tuxychandru on Friday March 05, 2021 @05:30PM
(#26363062)
Signal desktop runs as multiple processes. Did you add up all their memory consumption? On my Debian laptop, Signal processes consume about 700 MB of RSS in total, immediately after starting.
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati...
by fabiospampinato on Friday March 05, 2021 @05:20PM
(#26362928)
There's no secret really, just don't import junk dependencies like most people do and spend some time inspecting your memory usage every now and then, with very little effort you'll probably cut down on your memory usage significantly by doing that. With a lot more effort often you can probably even make something faster than uses less memory than a supposedly native app (if they spent less time than you optimizing it).
It's open source, I've been meaning to poke around and see what they are doing differently.