<?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 100%CPU + 50GB RAM Usage in Expression Editor in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341178#M413147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm experiencing high RAM and CPU usage while using the expression editor in &lt;SPAN style="font-size: 10pt;"&gt;Qlikview x64 version 12.10.020200 SR4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any change in the expression leads to 100% single thread CPU usage + 50GB RAM usage for a couple minutes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any reason for Qlikview to compute the expression while the user makes the changes?&lt;/P&gt;&lt;P&gt;After a while the RAM usage drops to normal levels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is thata BUG? Is there anything wrong with my expression?&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="161668" alt="highCPU.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/161668_highCPU.png" style="height: 435px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;The SQL query would be as simple as:&lt;/P&gt;&lt;P&gt;SELECT COUNT(A)&lt;/P&gt;&lt;P&gt;FROM TABLE&lt;/P&gt;&lt;P&gt;WHERE B &amp;gt; 2*C&lt;/P&gt;&lt;P&gt;GROUP BY D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table would be like:&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25&amp;nbsp;&amp;nbsp;&amp;nbsp; B&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't Qlikview do a simple select efficiently?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Apr 2017 17:55:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-28T17:55:49Z</dc:date>
    <item>
      <title>100%CPU + 50GB RAM Usage in Expression Editor</title>
      <link>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341178#M413147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm experiencing high RAM and CPU usage while using the expression editor in &lt;SPAN style="font-size: 10pt;"&gt;Qlikview x64 version 12.10.020200 SR4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any change in the expression leads to 100% single thread CPU usage + 50GB RAM usage for a couple minutes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any reason for Qlikview to compute the expression while the user makes the changes?&lt;/P&gt;&lt;P&gt;After a while the RAM usage drops to normal levels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is thata BUG? Is there anything wrong with my expression?&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="161668" alt="highCPU.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/161668_highCPU.png" style="height: 435px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;The SQL query would be as simple as:&lt;/P&gt;&lt;P&gt;SELECT COUNT(A)&lt;/P&gt;&lt;P&gt;FROM TABLE&lt;/P&gt;&lt;P&gt;WHERE B &amp;gt; 2*C&lt;/P&gt;&lt;P&gt;GROUP BY D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table would be like:&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25&amp;nbsp;&amp;nbsp;&amp;nbsp; B&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't Qlikview do a simple select efficiently?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 17:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341178#M413147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-28T17:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: CPU + RAM Usage Spikes in Expression Editor</title>
      <link>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341179#M413148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Bruno Garcia.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Share an image of the data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonas Melo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 19:38:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341179#M413148</guid>
      <dc:creator>jonas_rezende</dc:creator>
      <dc:date>2017-04-28T19:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: CPU + RAM Usage Spikes in Expression Editor</title>
      <link>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341180#M413149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Its a single table with a few million lines.&lt;/P&gt;&lt;P&gt;The trouble begins as soon as you insert the equal sign between double quotes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Apr 2017 03:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341180#M413149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-29T03:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: 100%CPU + 50GB RAM Usage in Expression Editor</title>
      <link>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341181#M413150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This implies that QlikView somehow tries to precalculate the expression search you are using. Might be a bug.&lt;/P&gt;&lt;P&gt;Should be easy to test if the same happens in 11.20 if I only had a simple table with a few million lines of data...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Apr 2017 13:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341181#M413150</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-04-29T13:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: 100%CPU + 50GB RAM Usage in Expression Editor</title>
      <link>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341182#M413151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same issue reported here: &lt;A href="https://community.qlik.com/message/212666"&gt;40 Mb file exceeds 3 Gigs on Task Manager&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems Qlikview uses some really crappy algorithm for aggregation...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time to go back to school guys, relational database technology is almost 50 years old!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Apr 2017 18:08:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341182#M413151</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-29T18:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: 100%CPU + 50GB RAM Usage in Expression Editor</title>
      <link>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341183#M413152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting. I had not noticed this before.&amp;nbsp; But when the modifier value contains a leading "=" (Advanced Search), QV seems to calculate the expression on the fly as you type. This can be annoying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested on V11.20SR15 (and earlier QV11) and V10Sr6 and the behavior is there as well.&amp;nbsp; A workaround is to type the leading "=" after you have completed your editing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached an example that demonstrates the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com/" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Apr 2017 00:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341183#M413152</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-04-30T00:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: 100%CPU + 50GB RAM Usage in Expression Editor</title>
      <link>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341184#M413153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me on this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apology for spamming this post...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/258781"&gt;Expression Help on Current Fiscal Quarter&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Apr 2017 17:00:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341184#M413153</guid>
      <dc:creator>satishkurra</dc:creator>
      <dc:date>2017-04-30T17:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: 100%CPU + 50GB RAM Usage in Expression Editor</title>
      <link>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341185#M413154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the feedback, Rob!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to avoid the memory use problem by moving the calculation of the ration between the two columns to the load script and make the set expression using a constant instead of making reference to two columns in the same row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I really don't get why Qlikview needs so much memory in order to do this kind of aggregation, it's many times greater than the original data uses. Is there a better way to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think there is room for improvement in the way Qlikview is implementing this kind of set operation?&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 May 2017 22:42:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-CPU-50GB-RAM-Usage-in-Expression-Editor/m-p/1341185#M413154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-01T22:42:48Z</dc:date>
    </item>
  </channel>
</rss>

