How do I decrease the memory (RAM) usage of my QT application running on my embedded system?
-
Is there a way I can remove unused dependencies, or set a compiler flag that will reduce the memory usage while my application is running?
I am seeing my device using 115% of my memory which is causing problems and my QT application is not updating some values in real time.
-
Hi and welcome to devnet,
If you want to minimise your application footprint, you should build Qt with all unneeded features disabled. This might take some time but should allow you to minimize in interesting ways. Just take into account that these kind of builds have no automate testing done on them so you might hit issue although the code base should be pretty well written to avoid that.