News for hackers. Stuff that matters.
Re:Tauri: An Electron alternative written in Rust by scaladev on Friday February 19, 2021 @01:57PM (#26196579)
>~50MB RAM each

You _are_ measuring the total RAM usage, right? Something like `free -m` right before starting the application, and then after it warms up?

Every time I see these "electron is not heavy, it only uses X MBs of RAM", it turns out that the author looked at a single electron process (out of typically 5-10), and then only measured RSS, completely ignoring shared memory.

Re:Tauri: An Electron alternative written in Rust by kaslai on Friday February 19, 2021 @02:20PM (#26196868)
Doesn't RSS include shared mappings? That's why metrics like PSS and USS were introduced.

But that aside, yeah Discord is pretty heavy. My current instance which is only connected to a single server is eating 555 MB PSS, or 846MB RSS. Definitely not a lightweight at all.