You can't spare 40mb of RAM?
You can't spare 40mb of RAM?
It's like using a semi-truck (with the trailer attached) to go buy groceries 100 meters away.
It's all the negatives of a webapp and all the negatives of a native app with none of the positives.
It peaks to around 3GB during the hub creation (on a folder with ~100 videos but I see your demo is limited to 50).
It finally settles at 350MB.
Here's the breakdown: https://ibb.co/N9MYvNx
My guess is that what you view in your task manager is a single process, not all the processes started by your application.
Apparently the developers couldn't get rid of turning the Web into ChromeOS.
I have stuff to do on my computer, stuff that often involves multiple programs (one of them almost always being a browser!). Then there's bunch of support stuff that I want, or have to, keep around. A music player, an IM, a mail client, etc. When everything gets packaged as Electron apps, even those tiny utilities add up quickly, and everything slows. down. Or worse, gets starved for RAM and starts stuttering (Windows) or just gets OOM-killed (Linux).
And I say that as a dev/techie, who has plenty of RAM. Non-tech people tend to have computers that are memory-starved by default. Building trivial stuff as Electron apps, where native would be 100x less resource-intensive, is just peak developer laziness/selfishness.
“Electron bad!” is as much of a cargo culted snobby HN myth as “Macs have no RAM!”