<?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: Load Script with 'The request exceeds the memory Limit' Error Code 19 in Data Movement &amp; Streaming</title>
    <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-Script-with-The-request-exceeds-the-memory-Limit-Error-Code/m-p/2484937#M2697</link>
    <description>&lt;P&gt;Hi &lt;SPAN style="color:var(--ck-color-mention-text);"&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/12760"&gt;@crichter14&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I understand correctly now, then if you are trying to reload the app inside the data load editor and hitting guardrails therein, note that there is a &lt;STRONG&gt;10 GB limit&lt;/STRONG&gt;.&lt;BR /&gt;To limit the rows of data follow this help page:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ScriptEditor/previewing-scripts.htm" target="_blank"&gt;Previewing data in load scripts&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/LoadData/save-load-script.htm" target="_blank"&gt;Saving the load script&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To perform the complete reload you will need to do that from the analytics home/hub if your app is over 10 GB. (This is mentioned in the following article &lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Reload-and-Task-Best-Practices/ta-p/2068793)" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/Qlik-Reload-and-Task-Best-Practices/ta-p/2068793)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When reloading the app in the home/hub, you may still hit gaurdrail limits if your license doesn't have sufficient large app support to manage the in memory size of your app(s).&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/subscription-options-qlik-cloud.htm" target="_blank"&gt;Qlik Cloud capacity-based subscriptions&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/subscription-options-analytics-user-based.htm" target="_blank"&gt;Qlik Cloud user-based subscriptions&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Related information:&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/LoadData/debug-data-load-script.htm" target="_blank"&gt;&lt;I&gt;Debugging the data load script&lt;/I&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2024 15:46:49 GMT</pubDate>
    <dc:creator>Frank_S</dc:creator>
    <dc:date>2024-10-02T15:46:49Z</dc:date>
    <item>
      <title>Load Script with 'The request exceeds the memory Limit'  Error Code 19</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-Script-with-The-request-exceeds-the-memory-Limit-Error-Code/m-p/2484926#M2694</link>
      <description>&lt;P&gt;Can someone tell me which memory limit this exceeds refers to?&amp;nbsp; I'm looking at the Qlik Cloud Guardrails and I'm not sure which one applies based on the error message.&lt;/P&gt;
&lt;P&gt;Context:&amp;nbsp; there is a loop in the load script and I think it's eating up memory, but I don't know that.&amp;nbsp; I tried to App Analyzer and it doesn't look like we're hitting any limits.&amp;nbsp; I tried the reload analyzer, no luck there.&amp;nbsp; I'm running the document analyzer now.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 21:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Load-Script-with-The-request-exceeds-the-memory-Limit-Error-Code/m-p/2484926#M2694</guid>
      <dc:creator>crichter14</dc:creator>
      <dc:date>2025-03-19T21:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script with 'The request exceeds the memory Limit' Error Code 19</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-Script-with-The-request-exceeds-the-memory-Limit-Error-Code/m-p/2484930#M2695</link>
      <description>&lt;P&gt;Not necessarily.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you have a large app which is complex in nature. the disk size will grow 'in memory' to a much larger size. (heavy use of calculated dimensions and highly complex formula usage. Move as many calculations to the load script as possible to mitigate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do a performance evaluation inside your app which should give you strong indication where the issue is.&lt;/P&gt;&lt;P&gt;See the following.&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Apps/app-performance-evaluation.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Apps/app-performance-evaluation.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The key point being, is you may need additional capacity to manage the in memory growth of your app. But again check above to help you determine where the performance issues might exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Related Information&lt;/I&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/subscription-value-meters.htm" target="_blank"&gt;&lt;I&gt;Subscription value meters&lt;/I&gt;&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Introduction/qcs-specs-capacity-QSESaaS-QSB.htm#anchor-3" target="_blank"&gt;&lt;I&gt;Qlik Cloud guardrails&lt;/I&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 14:49:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Load-Script-with-The-request-exceeds-the-memory-Limit-Error-Code/m-p/2484930#M2695</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2024-10-02T14:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script with 'The request exceeds the memory Limit' Error Code 19</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-Script-with-The-request-exceeds-the-memory-Limit-Error-Code/m-p/2484932#M2696</link>
      <description>&lt;P&gt;Frank,&lt;/P&gt;
&lt;P&gt;Since the issue is in the Load Script, does that change anything?&amp;nbsp; I am trying to run Performance Evaluation, but I haven't used it before.&amp;nbsp; Can you tell me where the results are?&amp;nbsp; i.e. is in the Qlik Analytics under Catalog or do I look somewhere else?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 15:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Load-Script-with-The-request-exceeds-the-memory-Limit-Error-Code/m-p/2484932#M2696</guid>
      <dc:creator>crichter14</dc:creator>
      <dc:date>2024-10-02T15:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script with 'The request exceeds the memory Limit' Error Code 19</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-Script-with-The-request-exceeds-the-memory-Limit-Error-Code/m-p/2484937#M2697</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="color:var(--ck-color-mention-text);"&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/12760"&gt;@crichter14&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I understand correctly now, then if you are trying to reload the app inside the data load editor and hitting guardrails therein, note that there is a &lt;STRONG&gt;10 GB limit&lt;/STRONG&gt;.&lt;BR /&gt;To limit the rows of data follow this help page:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ScriptEditor/previewing-scripts.htm" target="_blank"&gt;Previewing data in load scripts&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/LoadData/save-load-script.htm" target="_blank"&gt;Saving the load script&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To perform the complete reload you will need to do that from the analytics home/hub if your app is over 10 GB. (This is mentioned in the following article &lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Reload-and-Task-Best-Practices/ta-p/2068793)" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/Qlik-Reload-and-Task-Best-Practices/ta-p/2068793)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When reloading the app in the home/hub, you may still hit gaurdrail limits if your license doesn't have sufficient large app support to manage the in memory size of your app(s).&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/subscription-options-qlik-cloud.htm" target="_blank"&gt;Qlik Cloud capacity-based subscriptions&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/subscription-options-analytics-user-based.htm" target="_blank"&gt;Qlik Cloud user-based subscriptions&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Related information:&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/LoadData/debug-data-load-script.htm" target="_blank"&gt;&lt;I&gt;Debugging the data load script&lt;/I&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 15:46:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Load-Script-with-The-request-exceeds-the-memory-Limit-Error-Code/m-p/2484937#M2697</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2024-10-02T15:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script with 'The request exceeds the memory Limit'  Error Code 19</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-Script-with-The-request-exceeds-the-memory-Limit-Error-Code/m-p/2485383#M2699</link>
      <description>&lt;P&gt;I typically see an "exceeds quota" message if I exceed the quota app size limit. See&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://qlikviewcookbook.com/2024/05/help-my-qlik-cloud-reload-exceeds-quota/" target="_blank"&gt;https://qlikviewcookbook.com/2024/05/help-my-qlik-cloud-reload-exceeds-quota/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;That article suggests using a limited to load to get under quota so you can tune.&amp;nbsp; However, you mentioned a loop. Is the error message coming when your loop is executing? Perhaps your loop is never ending or generating too much? If you can post the loop script perhaps we can see something.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 14:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Load-Script-with-The-request-exceeds-the-memory-Limit-Error-Code/m-p/2485383#M2699</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2024-10-04T14:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script with 'The request exceeds the memory Limit'  Error Code 19</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-Script-with-The-request-exceeds-the-memory-Limit-Error-Code/m-p/2485930#M2708</link>
      <description>&lt;P&gt;Thanks Rob!&amp;nbsp; We have several of these, for different countries.&amp;nbsp; They seem to run through the debugger, but not a reload.&amp;nbsp; I am thinking we hit some in-application limit.&amp;nbsp; For now I'm taking this code out and doing a review.&amp;nbsp; Example snippet below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;//For USD&lt;/DIV&gt;
&lt;DIV&gt;CURRENT_RANGE_USD:&lt;/DIV&gt;
&lt;DIV&gt;GENERIC LOAD&lt;/DIV&gt;
&lt;DIV&gt;CODE AS KEY,&lt;/DIV&gt;
&lt;DIV&gt;CURRENT_RANGE_USD&lt;/DIV&gt;
&lt;DIV&gt;RESIDENT CUSTOMER;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;//SELECT ONLY THE 'CURRENT_RANGE' TABLES TO BE LEFT JOINED TO PLAN&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp;Set vListOfTables = ;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp;For vTableNo = 0 to NoOfTables()&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Let vTableName = TableName($(vTableNo));&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If Subfield(vTableName,'.',1)='CURRENT_RANGE_USD' Then&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Let vListOfTables = vListOfTables &amp;amp; If(Len(vListOfTables)&amp;gt;0,',') &amp;amp; Chr(39) &amp;amp; vTableName &amp;amp; Chr(39) ;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; End If&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp;Next vTableNo&lt;/DIV&gt;
&lt;DIV&gt;//ADD EACH OF THE NEWLY CREATED TABLE AS COLUMNS TO THE PLAN TABLE&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp;For each vTableName in $(vListOfTables)&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Left Join (PLAN) Load * Resident [$(vTableName)];&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Drop Table [$(vTableName)];&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp;Next vTableName&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Oct 2024 14:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Load-Script-with-The-request-exceeds-the-memory-Limit-Error-Code/m-p/2485930#M2708</guid>
      <dc:creator>crichter14</dc:creator>
      <dc:date>2024-10-08T14:45:38Z</dc:date>
    </item>
  </channel>
</rss>

