Quick look: Electron vs Qt/QML app memory usage

Petar Koretić
5 min readApr 14, 2020
Your tpyical Memory Hog

In time of COVID-19 there is much less things to do if your country rules are to stay at home.
If you are lucky enough that you can work from home probably you have a bit more time that you need to fill with something that is not movies, games or eating.
One of those could be looking at what next framework you would use and if memory usage of that app should be any concern for you.
If all frameworks give you the same, should you choose the one that is more lightweight or should you wait for that bug report telling that memory usage of your app is too big and you need to optimize it? After all people can use RPI devices as a PC.

I worked quite a lot on optimizing apps that were written poorly and used too much memory. Those scenario today, in my experience, inevitably happen. Everyone is targeting to deliver more in less time and then performance and memory usage of an app usually become secondary…until they don’t.

But even in other cases putting yourself in a better starting position should be a sane choice. You don’t necessarily want your app being remembered as a ‘memory hog’, even if it is a very popular and successful ‘memory hog’.

But how much of a difference can a framework choice really make?

--

--