<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How use less RAM for embedded qt application on linux ARM?]]></title><description><![CDATA[<p dir="auto">When I start my ARM board, I see Linux and some init programs use around 11MB memory.<br />
If I then start my (quite large) Qt applictaton (with GUI, network, video,...)  , the used RAM rises to 95MB.</p>
<p dir="auto">After a while this increases even further to around 120MB, and the device only has 122MB available.<br />
This is obviously not good, and I want to lower the memory usage.</p>
<p dir="auto">How can I use less RAM for embedded qt applications on linux ARM? Or are these large memory requirements normal for Qt?</p>
<p dir="auto">PS: I tried using a swap file and then memory + swap usage is relatively steady, so I assume it's not a memory leak.<br />
(117MB used + 15MB swap)</p>
]]></description><link>https://forum.qt.io/topic/63362/how-use-less-ram-for-embedded-qt-application-on-linux-arm</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 20:59:08 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/63362.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 26 Jan 2016 14:45:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How use less RAM for embedded qt application on linux ARM? on Tue, 26 Jan 2016 15:17:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qtfriend">@<bdi>QtFriend</bdi></a><br />
not only file size will decrease but also the memory allocation by objects.<br />
But of course you also need to inspect your source code for memory efficiency.<br />
Using pointers and references as much as possible, object reusage, etc</p>
]]></description><link>https://forum.qt.io/post/309674</link><guid isPermaLink="true">https://forum.qt.io/post/309674</guid><dc:creator><![CDATA[raven-worx]]></dc:creator><pubDate>Tue, 26 Jan 2016 15:17:17 GMT</pubDate></item><item><title><![CDATA[Reply to How use less RAM for embedded qt application on linux ARM? on Tue, 26 Jan 2016 15:14:20 GMT]]></title><description><![CDATA[<p dir="auto">Hi! These libraries themselves pull in other libraries from your system.</p>
]]></description><link>https://forum.qt.io/post/309673</link><guid isPermaLink="true">https://forum.qt.io/post/309673</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 26 Jan 2016 15:14:20 GMT</pubDate></item><item><title><![CDATA[Reply to How use less RAM for embedded qt application on linux ARM? on Tue, 26 Jan 2016 15:11:09 GMT]]></title><description><![CDATA[<p dir="auto">Thanks raven-worx.</p>
<p dir="auto">The used qt shared libraries have the following sizes:<br />
Core = 2.9MB<br />
GUI = 8.7MB<br />
Network = 907kB<br />
Phonon = 277kB</p>
<p dir="auto">If I use all these shared libraries I only get to ~12.8MB. This is very acceptable, and reducing some features will bring this down a little, perhaps to 10MB combined, but not tens of MB. Or am I misunderstanding?</p>
]]></description><link>https://forum.qt.io/post/309670</link><guid isPermaLink="true">https://forum.qt.io/post/309670</guid><dc:creator><![CDATA[QtFriend]]></dc:creator><pubDate>Tue, 26 Jan 2016 15:11:09 GMT</pubDate></item><item><title><![CDATA[Reply to How use less RAM for embedded qt application on linux ARM? on Tue, 26 Jan 2016 14:57:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qtfriend">@<bdi>QtFriend</bdi></a><br />
i guess since you are using some Qt modules your best chance is to recompile Qt and disable certain features you do not need.<br />
This mainly decreases the size of the shared libraries and thus also the memory consumption.</p>
]]></description><link>https://forum.qt.io/post/309663</link><guid isPermaLink="true">https://forum.qt.io/post/309663</guid><dc:creator><![CDATA[raven-worx]]></dc:creator><pubDate>Tue, 26 Jan 2016 14:57:49 GMT</pubDate></item></channel></rss>