<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why does QS Application size explodes in memory ? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Why-does-QS-Application-size-explodes-in-memory/m-p/2505768#M104030</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47066"&gt;@morgankejerhag&lt;/a&gt;&amp;nbsp;I understand every Software Product does some or the other compression to save Disk I/O. Qlik must be doing some&amp;nbsp;lossless compression (LZ, Deflate or some Inhouse compression Algorithm). Still does not explains the fact that it's taking x4 memory for 80% - 90% non-repeating data set. i.e. We cannot compress this much unique data by x4 times! Thus should not be consuming this much RAM either.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ae_app" data-nosnippet=""&gt;&lt;!--
        Layout, Style or Voice Helpers
    --&gt;
&lt;DIV id="ae_helpers" class="ae-module" style="display: none;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!--
        Compliance
    --&gt;
&lt;DIV id="ae_compliance" class="ae-module" style="display: none;"&gt;&lt;!-- For autoSmartRem addNewWindowWarnings div is referenced in an aria-describedby --&gt;
&lt;DIV id="audioeye_new_window_message" style="display: none;"&gt;Opens in new window&lt;/DIV&gt;
&lt;DIV id="audioeye_pdf_message" style="display: none;"&gt;PDF Download&lt;/DIV&gt;
&lt;DIV id="audioeye_word_message" style="display: none;"&gt;Word Download&lt;/DIV&gt;
&lt;DIV id="audioeye_excel_message" style="display: none;"&gt;Excel Download&lt;/DIV&gt;
&lt;DIV id="audioeye_powerpoint_message" style="display: none;"&gt;PowerPoint Download&lt;/DIV&gt;
&lt;DIV id="audioeye_document_message" style="display: none;"&gt;Document Download&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;!--
        Versioning Control Panel if versioning = true !
    --&gt; &lt;!--
        Launcher
    --&gt;  &lt;!-- Toolbar --&gt;  &lt;!--
        Site Menu
    --&gt;  &lt;!--
        Generic Aria Live message container
    --&gt;
&lt;DIV id="ae_enabled_messages" class="ae-blurb-noaudio" aria-relevant="additions" aria-live="assertive"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!-- Symbol definitions --&gt;    &lt;/DIV&gt;
&lt;!-- end #ae_app --&gt;</description>
    <pubDate>Thu, 13 Feb 2025 13:37:57 GMT</pubDate>
    <dc:creator>PradeepK</dc:creator>
    <dc:date>2025-02-13T13:37:57Z</dc:date>
    <item>
      <title>Why does QS Application size explodes in memory ?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-does-QS-Application-size-explodes-in-memory/m-p/2505761#M104024</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am working with QS Enterprise. I have always seen this issue with Qlik Sense.&lt;/P&gt;
&lt;P&gt;Let's say i have 256 GM RAM in all node in a cluster setup. I have an QS application with size roughly &lt;STRONG&gt;8 GB&lt;/STRONG&gt; on the disk. Once session is created for this app, Qlik Engine reserves &lt;STRONG&gt;~ x3&lt;/STRONG&gt; or x&lt;STRONG&gt;4&lt;/STRONG&gt; times memory for this app i.e.&amp;nbsp;&lt;STRONG&gt;~ 32 GB&lt;/STRONG&gt; footprint in RAM. This again increases as user session increases.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No matter how i look at this.. seems very poor!&amp;nbsp;This really limits the number of apps I can keep alive in memory!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I understand Qlik does data compression, symbol table, bit stuffed pointers, bit map joins etc.. etc.. optimization. Consider I have Data model with 80% random values. Still a simple program can do better memory management.. I have tested by loading the same data in memory from source without any optimization and it still takes 10 GB RAM.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what is Qlik Engine (C++ program) exactly doing that it needs this much memory? WHY ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ae_app" data-nosnippet=""&gt;&lt;!--
        Layout, Style or Voice Helpers
    --&gt;
&lt;DIV id="ae_helpers" class="ae-module" style="display: none;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!--
        Compliance
    --&gt;
&lt;DIV id="ae_compliance" class="ae-module" style="display: none;"&gt;&lt;!-- For autoSmartRem addNewWindowWarnings div is referenced in an aria-describedby --&gt;
&lt;DIV id="audioeye_new_window_message" style="display: none;"&gt;Opens in new window&lt;/DIV&gt;
&lt;DIV id="audioeye_pdf_message" style="display: none;"&gt;PDF Download&lt;/DIV&gt;
&lt;DIV id="audioeye_word_message" style="display: none;"&gt;Word Download&lt;/DIV&gt;
&lt;DIV id="audioeye_excel_message" style="display: none;"&gt;Excel Download&lt;/DIV&gt;
&lt;DIV id="audioeye_powerpoint_message" style="display: none;"&gt;PowerPoint Download&lt;/DIV&gt;
&lt;DIV id="audioeye_document_message" style="display: none;"&gt;Document Download&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;!--
        Versioning Control Panel if versioning = true !
    --&gt; &lt;!--
        Launcher
    --&gt; &lt;!-- Toolbar --&gt; &lt;!--
        Site Menu
    --&gt; &lt;!--
        Generic Aria Live message container
    --&gt;
&lt;DIV id="ae_enabled_messages" class="ae-blurb-noaudio" aria-relevant="additions" aria-live="assertive"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!-- Symbol definitions --&gt;&lt;/DIV&gt;
&lt;!-- end #ae_app --&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ae_app" data-nosnippet=""&gt;&lt;!--
        Layout, Style or Voice Helpers
    --&gt;
&lt;DIV id="ae_helpers" class="ae-module" style="display: none;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!--
        Compliance
    --&gt;
&lt;DIV id="ae_compliance" class="ae-module" style="display: none;"&gt;&lt;!-- For autoSmartRem addNewWindowWarnings div is referenced in an aria-describedby --&gt;
&lt;DIV id="audioeye_new_window_message" style="display: none;"&gt;Opens in new window&lt;/DIV&gt;
&lt;DIV id="audioeye_pdf_message" style="display: none;"&gt;PDF Download&lt;/DIV&gt;
&lt;DIV id="audioeye_word_message" style="display: none;"&gt;Word Download&lt;/DIV&gt;
&lt;DIV id="audioeye_excel_message" style="display: none;"&gt;Excel Download&lt;/DIV&gt;
&lt;DIV id="audioeye_powerpoint_message" style="display: none;"&gt;PowerPoint Download&lt;/DIV&gt;
&lt;DIV id="audioeye_document_message" style="display: none;"&gt;Document Download&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;!--
        Versioning Control Panel if versioning = true !
    --&gt; &lt;!--
        Launcher
    --&gt;  &lt;!-- Toolbar --&gt;
&lt;ASIDE id="ae_toolbar" tabindex="0" aria-label="Accessibility options"&gt;&lt;/ASIDE&gt;
&lt;!--
        Site Menu
    --&gt;  &lt;!--
        Generic Aria Live message container
    --&gt;
&lt;DIV id="ae_enabled_messages" class="ae-blurb-noaudio" aria-relevant="additions" aria-live="assertive"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!-- Symbol definitions --&gt;    &lt;/DIV&gt;
&lt;!-- end #ae_app --&gt;</description>
      <pubDate>Thu, 13 Feb 2025 13:03:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-does-QS-Application-size-explodes-in-memory/m-p/2505761#M104024</guid>
      <dc:creator>PradeepK</dc:creator>
      <dc:date>2025-02-13T13:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why does QS Application size explodes in memory ?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-does-QS-Application-size-explodes-in-memory/m-p/2505762#M104025</link>
      <description>&lt;P&gt;This is normal. An app on disk is compressed and it decompresses when read into memory. With more users more cached measures are saved into memory as well.&lt;/P&gt;
&lt;P&gt;Qlik Servers will try to keep as much as possible in memory until a lower threshold is reached. Then Qlik will try to unload things from memory (currently not used apps etc). If it is not able to do this memory usage will continue growing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ae_app" data-nosnippet=""&gt;&lt;!--
        Layout, Style or Voice Helpers
    --&gt;
&lt;DIV id="ae_helpers" class="ae-module" style="display: none;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!--
        Compliance
    --&gt;
&lt;DIV id="ae_compliance" class="ae-module" style="display: none;"&gt;&lt;!-- For autoSmartRem addNewWindowWarnings div is referenced in an aria-describedby --&gt;
&lt;DIV id="audioeye_new_window_message" style="display: none;"&gt;Opens in new window&lt;/DIV&gt;
&lt;DIV id="audioeye_pdf_message" style="display: none;"&gt;PDF Download&lt;/DIV&gt;
&lt;DIV id="audioeye_word_message" style="display: none;"&gt;Word Download&lt;/DIV&gt;
&lt;DIV id="audioeye_excel_message" style="display: none;"&gt;Excel Download&lt;/DIV&gt;
&lt;DIV id="audioeye_powerpoint_message" style="display: none;"&gt;PowerPoint Download&lt;/DIV&gt;
&lt;DIV id="audioeye_document_message" style="display: none;"&gt;Document Download&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;!--
        Versioning Control Panel if versioning = true !
    --&gt; &lt;!--
        Launcher
    --&gt;  &lt;!-- Toolbar --&gt;  &lt;!--
        Site Menu
    --&gt;  &lt;!--
        Generic Aria Live message container
    --&gt;
&lt;DIV id="ae_enabled_messages" class="ae-blurb-noaudio" aria-relevant="additions" aria-live="assertive"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!-- Symbol definitions --&gt;    &lt;/DIV&gt;
&lt;!-- end #ae_app --&gt;</description>
      <pubDate>Thu, 13 Feb 2025 13:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-does-QS-Application-size-explodes-in-memory/m-p/2505762#M104025</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2025-02-13T13:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why does QS Application size explodes in memory ?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-does-QS-Application-size-explodes-in-memory/m-p/2505764#M104027</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/54791"&gt;@PradeepK&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Great question. Qlik loads the entire data model (data and relationships), chart objects, etc in memory when you open the application. This is what makes Qlik Applications fast to respond to user's interactions. This is not about just loading records into memory.&lt;/P&gt;
&lt;P&gt;What exactly happens behind the scenes I don't know but, I know how to optimize applications. If you are interested on this matter, you can use &lt;STRONG&gt;QSDA Pro&lt;/STRONG&gt; to analyze your application looking for performance issues. It is a fantastic tool and may save you lots of GB:&amp;nbsp;&lt;A href="https://easyqlik.com/" target="_blank"&gt;https://easyqlik.com/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mark Costa&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 13:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-does-QS-Application-size-explodes-in-memory/m-p/2505764#M104027</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2025-02-13T13:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why does QS Application size explodes in memory ?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-does-QS-Application-size-explodes-in-memory/m-p/2505768#M104030</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47066"&gt;@morgankejerhag&lt;/a&gt;&amp;nbsp;I understand every Software Product does some or the other compression to save Disk I/O. Qlik must be doing some&amp;nbsp;lossless compression (LZ, Deflate or some Inhouse compression Algorithm). Still does not explains the fact that it's taking x4 memory for 80% - 90% non-repeating data set. i.e. We cannot compress this much unique data by x4 times! Thus should not be consuming this much RAM either.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ae_app" data-nosnippet=""&gt;&lt;!--
        Layout, Style or Voice Helpers
    --&gt;
&lt;DIV id="ae_helpers" class="ae-module" style="display: none;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!--
        Compliance
    --&gt;
&lt;DIV id="ae_compliance" class="ae-module" style="display: none;"&gt;&lt;!-- For autoSmartRem addNewWindowWarnings div is referenced in an aria-describedby --&gt;
&lt;DIV id="audioeye_new_window_message" style="display: none;"&gt;Opens in new window&lt;/DIV&gt;
&lt;DIV id="audioeye_pdf_message" style="display: none;"&gt;PDF Download&lt;/DIV&gt;
&lt;DIV id="audioeye_word_message" style="display: none;"&gt;Word Download&lt;/DIV&gt;
&lt;DIV id="audioeye_excel_message" style="display: none;"&gt;Excel Download&lt;/DIV&gt;
&lt;DIV id="audioeye_powerpoint_message" style="display: none;"&gt;PowerPoint Download&lt;/DIV&gt;
&lt;DIV id="audioeye_document_message" style="display: none;"&gt;Document Download&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;!--
        Versioning Control Panel if versioning = true !
    --&gt; &lt;!--
        Launcher
    --&gt;  &lt;!-- Toolbar --&gt;  &lt;!--
        Site Menu
    --&gt;  &lt;!--
        Generic Aria Live message container
    --&gt;
&lt;DIV id="ae_enabled_messages" class="ae-blurb-noaudio" aria-relevant="additions" aria-live="assertive"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!-- Symbol definitions --&gt;    &lt;/DIV&gt;
&lt;!-- end #ae_app --&gt;</description>
      <pubDate>Thu, 13 Feb 2025 13:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-does-QS-Application-size-explodes-in-memory/m-p/2505768#M104030</guid>
      <dc:creator>PradeepK</dc:creator>
      <dc:date>2025-02-13T13:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why does QS Application size explodes in memory ?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-does-QS-Application-size-explodes-in-memory/m-p/2505769#M104031</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;&amp;nbsp;Thanks for commenting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ae_app" data-nosnippet=""&gt;&lt;!--
        Layout, Style or Voice Helpers
    --&gt;
&lt;DIV id="ae_helpers" class="ae-module" style="display: none;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!--
        Compliance
    --&gt;
&lt;DIV id="ae_compliance" class="ae-module" style="display: none;"&gt;&lt;!-- For autoSmartRem addNewWindowWarnings div is referenced in an aria-describedby --&gt;
&lt;DIV id="audioeye_new_window_message" style="display: none;"&gt;Opens in new window&lt;/DIV&gt;
&lt;DIV id="audioeye_pdf_message" style="display: none;"&gt;PDF Download&lt;/DIV&gt;
&lt;DIV id="audioeye_word_message" style="display: none;"&gt;Word Download&lt;/DIV&gt;
&lt;DIV id="audioeye_excel_message" style="display: none;"&gt;Excel Download&lt;/DIV&gt;
&lt;DIV id="audioeye_powerpoint_message" style="display: none;"&gt;PowerPoint Download&lt;/DIV&gt;
&lt;DIV id="audioeye_document_message" style="display: none;"&gt;Document Download&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;!--
        Versioning Control Panel if versioning = true !
    --&gt; &lt;!--
        Launcher
    --&gt;  &lt;!-- Toolbar --&gt;  &lt;!--
        Site Menu
    --&gt;  &lt;!--
        Generic Aria Live message container
    --&gt;
&lt;DIV id="ae_enabled_messages" class="ae-blurb-noaudio" aria-relevant="additions" aria-live="assertive"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!-- Symbol definitions --&gt;    &lt;/DIV&gt;
&lt;!-- end #ae_app --&gt;</description>
      <pubDate>Thu, 13 Feb 2025 13:38:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-does-QS-Application-size-explodes-in-memory/m-p/2505769#M104031</guid>
      <dc:creator>PradeepK</dc:creator>
      <dc:date>2025-02-13T13:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why does QS Application size explodes in memory ?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-does-QS-Application-size-explodes-in-memory/m-p/2505772#M104034</link>
      <description>&lt;P&gt;You can read more details here:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/How-much-RAM-is-consumed-per-application/ta-p/1715361" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/How-much-RAM-is-consumed-per-application/ta-p/1715361&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ae_app" data-nosnippet=""&gt;&lt;!--
        Layout, Style or Voice Helpers
    --&gt;
&lt;DIV id="ae_helpers" class="ae-module" style="display: none;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!--
        Compliance
    --&gt;
&lt;DIV id="ae_compliance" class="ae-module" style="display: none;"&gt;&lt;!-- For autoSmartRem addNewWindowWarnings div is referenced in an aria-describedby --&gt;
&lt;DIV id="audioeye_new_window_message" style="display: none;"&gt;Opens in new window&lt;/DIV&gt;
&lt;DIV id="audioeye_pdf_message" style="display: none;"&gt;PDF Download&lt;/DIV&gt;
&lt;DIV id="audioeye_word_message" style="display: none;"&gt;Word Download&lt;/DIV&gt;
&lt;DIV id="audioeye_excel_message" style="display: none;"&gt;Excel Download&lt;/DIV&gt;
&lt;DIV id="audioeye_powerpoint_message" style="display: none;"&gt;PowerPoint Download&lt;/DIV&gt;
&lt;DIV id="audioeye_document_message" style="display: none;"&gt;Document Download&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;!--
        Versioning Control Panel if versioning = true !
    --&gt; &lt;!--
        Launcher
    --&gt;  &lt;!-- Toolbar --&gt;  &lt;!--
        Site Menu
    --&gt;  &lt;!--
        Generic Aria Live message container
    --&gt;
&lt;DIV id="ae_enabled_messages" class="ae-blurb-noaudio" aria-relevant="additions" aria-live="assertive"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!-- Symbol definitions --&gt;    &lt;/DIV&gt;
&lt;!-- end #ae_app --&gt;</description>
      <pubDate>Thu, 13 Feb 2025 13:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-does-QS-Application-size-explodes-in-memory/m-p/2505772#M104034</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2025-02-13T13:50:58Z</dc:date>
    </item>
  </channel>
</rss>

