3 ms·
"... not one complained about RAM ... " Just curious, how much RAM does your app typically use?
by bjornlouser 5y ago
"... not one complained about RAM ... "
Just curious, how much RAM does your app typically use?
- yboris 5y agoI think it used to be around 130mb on Windows. I checked just now with the latest Electron 18 - and the ram seems to be around 30mb. The app consumes more RAM when it's extracting screenshots from videos (usually you do this once to build your "hub" - preview of your entire video collection).
- codedokode 5y agoThe numbers are suspiciously low. Electron binary itself weighs about 100 Mb, although of course it need not to be fully loaded. Are you using correct way to measure memory usage? I think that the correct way is to measure all physical memory mapped into all Electron processes (there are several of them), making discount for shared pages and adding swapped out pages (because they can potentially be loaded back into main memory). In Linux I usually add PSS and swap usage parsed from /proc, which should give correct numbers (PSS is an additive value). For example, all processes of Skype on my system take approximately 459 Mb in RAM and swap file. If you are only measuring one process memory instead of all and only private memory pages (excluding shared pages and swapped out) then you get the wrong number. I tried to search online what "Memory" column represents in Windows Task Manager and Mac Activity Monitor (which people often use to estimate memory usage), but couldn't find any information. So I cannot be sure that they show true values and that those values can be added to find total memory usage by several processes.