<?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[Memory usage increases with window size?]]></title><description><![CDATA[<p dir="auto">I've noticed that memory usage on Qt applications increases proportionally to the size of the window. For example, maximizing a window on a 4k screen increases memory usage by ~30Mb. I found a stackoverflow question on this same topic but it is dated for 2013 and I believe is outdated (<a href="https://stackoverflow.com/questions/14211976/qt5-memory-usage-depends-on-window-size" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/14211976/qt5-memory-usage-depends-on-window-size</a>).</p>
<p dir="auto">The answers simply explains it away as a 'Qt thing' due to how Qt draws things, which is fair, however I noticed that other applications don't do this, even though they are graphically 'heavier'. I'm guessing they employ some newer tech that I'm unaware of (I'm using Qt 5.6 for clarification.)</p>
<p dir="auto">What is the difference between Qt applications and other applications (notepad++, photoshop, game launchers, vs code, basically I haven't found another application that behaves like a Qt app) that causes this memory-expensive behavior? Bonus points if I could make it go away haha.</p>
]]></description><link>https://forum.qt.io/topic/132045/memory-usage-increases-with-window-size</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 04:03:51 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/132045.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 16 Nov 2021 18:13:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Memory usage increases with window size? on Tue, 16 Nov 2021 22:27:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> said in <a href="/post/690329">Memory usage increases with window size?</a>:</p>
<blockquote>
<p dir="auto">Hi,</p>
<p dir="auto">The answer is likely the raster engine of the widgets module and the age of your Qt version.</p>
<p dir="auto">You should consider updating to something more recent that has high DPI support to compare.</p>
</blockquote>
<p dir="auto">I can't, I need to compile with MSVC2010 and 5.6 is the latest version that supports it from what I've read.</p>
]]></description><link>https://forum.qt.io/post/690366</link><guid isPermaLink="true">https://forum.qt.io/post/690366</guid><dc:creator><![CDATA[oPryzeLP]]></dc:creator><pubDate>Tue, 16 Nov 2021 22:27:12 GMT</pubDate></item><item><title><![CDATA[Reply to Memory usage increases with window size? on Tue, 16 Nov 2021 20:17:25 GMT]]></title><description><![CDATA[<p dir="auto">Just tested it. I started my app with different window sizes on the same machine and did see memory use up with bigger display. Are you bothered by 30MB more memory use? It is not much.</p>
]]></description><link>https://forum.qt.io/post/690344</link><guid isPermaLink="true">https://forum.qt.io/post/690344</guid><dc:creator><![CDATA[JoeCFD]]></dc:creator><pubDate>Tue, 16 Nov 2021 20:17:25 GMT</pubDate></item><item><title><![CDATA[Reply to Memory usage increases with window size? on Tue, 16 Nov 2021 19:22:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">The answer is likely the raster engine of the widgets module and the age of your Qt version.</p>
<p dir="auto">You should consider updating to something more recent that has high DPI support to compare.</p>
]]></description><link>https://forum.qt.io/post/690329</link><guid isPermaLink="true">https://forum.qt.io/post/690329</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 16 Nov 2021 19:22:25 GMT</pubDate></item></channel></rss>