3 ms·
I see a simple electron app using 140MB total. Measured by running 'free -m' before and after starting the app and waiting a while for a gc to run. Measuring m
by megous 8y ago
I see a simple electron app using 140MB total. Measured by running 'free -m' before and after starting the app and waiting a while for a gc to run.
Measuring memory use is difficult.
- TheAceOfHearts 8y agoFYI, you can open dev tools in electron and manually trigger GC [0]. [0] https://i.imgur.com/JbWArmR.png https://i.imgur.com/JbWArmR.png
- megous 8y agoI'm sure opending dev tools will increase memory use significantly though. So it's a bit self-defeating. :) Perhaps there's some API to call instead.