<?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: Large App Refresh Crashing Qlik in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Large-App-Refresh-Crashing-Qlik/m-p/1506686#M36209</link>
    <description>&lt;P&gt;I'd strongly encourage monitoring the RAM usage on the server during the refresh to see&amp;nbsp;&lt;EM&gt;which&lt;/EM&gt; processes are using the most memory / whether the server is getting exhausted since 15GB for a server isn't large at all.&lt;/P&gt;&lt;P&gt;Given that it's Redshift, which typically houses larger datasets, these settings on the DSN are relevant:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2018-11-14 16_59_43-Window.png" style="width: 724px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/254iA27A0BB98E68459B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-11-14 16_59_43-Window.png" alt="2018-11-14 16_59_43-Window.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;By default, the data pull will grab the entire result and store it into memory in the QVConnect process which is Qlik's interface with a DSN. Changing this to&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Single Row Mode&lt;/STRONG&gt; will prove out whether this is the cause. Overall you'd expect a longer reload time using the Single Row Mode so once it's confirmed, switching to a&amp;nbsp;&lt;STRONG&gt;Use Declare/Fetch&lt;/STRONG&gt; and an appropriate value which doesn't saturate the server is ideal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Nov 2018 22:03:03 GMT</pubDate>
    <dc:creator>Levi_Turner</dc:creator>
    <dc:date>2018-11-14T22:03:03Z</dc:date>
    <item>
      <title>Large App Refresh Crashing Qlik</title>
      <link>https://community.qlik.com/t5/App-Development/Large-App-Refresh-Crashing-Qlik/m-p/1506433#M36186</link>
      <description>&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;I am currently running into an issue in Qlik Sense where the services no longer work and users are getting a 404 error.&amp;nbsp; We are running Qlik Sense on an EC2 instance through AWS (t3.xlarge) and it seems that the cause could be one of our large apps that running into memory limits when trying to refresh.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The app's file size is 210.89 MB and it's connecting to data through Amazon Redshift.&amp;nbsp; The error script reads:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;2018-11-14 14:26:03&amp;nbsp; &amp;nbsp; &amp;nbsp; Error: Connector reply error: SQL##f - SqlState: HY000, ErrorCode: 30, ErrorMsg: [Amazon][Amazon Redshift] (30) Error occurred while trying to execute a query: [SQLState HY000] out of memory for query result&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT size="3"&gt;I am looking for any answers as to why we are encountering the following problems...&lt;/FONT&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT size="3"&gt;1) Why are some Qlik Sense services crashing, resulting in a 404 error?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT size="3"&gt;2) Is there a more efficient way to load an app to avoid the "out of memory for query result" error code?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT size="3"&gt;Thanks!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Large-App-Refresh-Crashing-Qlik/m-p/1506433#M36186</guid>
      <dc:creator>wlabarca99</dc:creator>
      <dc:date>2024-11-16T21:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Large App Refresh Crashing Qlik</title>
      <link>https://community.qlik.com/t5/App-Development/Large-App-Refresh-Crashing-Qlik/m-p/1506443#M36188</link>
      <description>&lt;P&gt;I think you have 2 different issues and I think they are not related.&lt;/P&gt;&lt;P&gt;The first one is the 404 error. I have some questions to help in troubleshooting:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Did you check if services are started in the windows service console ?&lt;/LI&gt;&lt;LI&gt;Did you checked the Qlik services Log files ?&lt;/LI&gt;&lt;LI&gt;How much memory have the server ?&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;How many users do you have&amp;nbsp;accessing the app ?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The second one is the SQL error. It´s related to the data load process and the error is issued by Amazon Redshift, so&amp;nbsp; Redshift is running out of memory, not qlik sense. More on this you can find here: &lt;A href="https://forums.aws.amazon.com/thread.jspa?threadID=124525" target="_blank"&gt;https://forums.aws.amazon.com/thread.jspa?threadID=124525&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 16:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Large-App-Refresh-Crashing-Qlik/m-p/1506443#M36188</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2018-11-14T16:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Large App Refresh Crashing Qlik</title>
      <link>https://community.qlik.com/t5/App-Development/Large-App-Refresh-Crashing-Qlik/m-p/1506471#M36191</link>
      <description>&lt;P&gt;For the 404 Error:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I usually RDP into the EC2 and Stop/Start the services through two scripts but that only works approx. 30% of the time.&amp;nbsp; Usually I will Stop/Start the EC2 in order to resolve the issue.&lt;/LI&gt;&lt;LI&gt;The EC2 instance has 15GB of RAM and 50GB of storage&lt;/LI&gt;&lt;LI&gt;I have not checked the log files&lt;/LI&gt;&lt;LI&gt;We typically have 5-15 users at any time&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 16:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Large-App-Refresh-Crashing-Qlik/m-p/1506471#M36191</guid>
      <dc:creator>wlabarca99</dc:creator>
      <dc:date>2018-11-14T16:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Large App Refresh Crashing Qlik</title>
      <link>https://community.qlik.com/t5/App-Development/Large-App-Refresh-Crashing-Qlik/m-p/1506686#M36209</link>
      <description>&lt;P&gt;I'd strongly encourage monitoring the RAM usage on the server during the refresh to see&amp;nbsp;&lt;EM&gt;which&lt;/EM&gt; processes are using the most memory / whether the server is getting exhausted since 15GB for a server isn't large at all.&lt;/P&gt;&lt;P&gt;Given that it's Redshift, which typically houses larger datasets, these settings on the DSN are relevant:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2018-11-14 16_59_43-Window.png" style="width: 724px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/254iA27A0BB98E68459B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-11-14 16_59_43-Window.png" alt="2018-11-14 16_59_43-Window.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;By default, the data pull will grab the entire result and store it into memory in the QVConnect process which is Qlik's interface with a DSN. Changing this to&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Single Row Mode&lt;/STRONG&gt; will prove out whether this is the cause. Overall you'd expect a longer reload time using the Single Row Mode so once it's confirmed, switching to a&amp;nbsp;&lt;STRONG&gt;Use Declare/Fetch&lt;/STRONG&gt; and an appropriate value which doesn't saturate the server is ideal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 22:03:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Large-App-Refresh-Crashing-Qlik/m-p/1506686#M36209</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2018-11-14T22:03:03Z</dc:date>
    </item>
  </channel>
</rss>

