<?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: Excessive Memory Grant in Qlik Compose</title>
    <link>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2523516#M1972</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121014"&gt;@Dana_Baldwin&lt;/a&gt;&amp;nbsp;, We have JVM configured at 3072M:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Al_gar_0-1752007636818.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181912iD2B0E742C052C4D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Al_gar_0-1752007636818.png" alt="Al_gar_0-1752007636818.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jul 2025 20:59:50 GMT</pubDate>
    <dc:creator>Al_gar</dc:creator>
    <dc:date>2025-07-08T20:59:50Z</dc:date>
    <item>
      <title>Excessive Memory Grant</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2521779#M1958</link>
      <description>&lt;P&gt;For a particular task on Qlik Compose for DW (December 2024) we need to do full loads for a table. When this task runs the generated INSERT SELECT statement for a process with description "Adding staging rows to TSTG_ENTITY_NAME_P" it's requesting an excessive amount of memory on SQL Server 2019. On another post with similar issue for a Qlik Replicate task I got a reply that "Qlik Replicate does not influence memory allocation". However, our DBAs findings were that there are some queries that needs to be optimized to avoid excessive memory grants. What can be done on Qlik Compose so that the auto generated queries are optimized and to avoid requesting Excessive Memory Grant?&lt;/P&gt;&lt;P&gt;These are the statistics and query plan warning message when executing the SELECT statement generated by Qlik Compose:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Al_gar_0-1750351714490.png" style="width: 692px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181496iC26F79A44BA9D506/image-dimensions/692x64?v=v2" width="692" height="64" role="button" title="Al_gar_0-1750351714490.png" alt="Al_gar_0-1750351714490.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Al_gar_1-1750351857202.png" style="width: 261px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181497i7A3975921307BDD0/image-dimensions/261x217?v=v2" width="261" height="217" role="button" title="Al_gar_1-1750351857202.png" alt="Al_gar_1-1750351857202.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 16:54:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2521779#M1958</guid>
      <dc:creator>Al_gar</dc:creator>
      <dc:date>2025-06-19T16:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Excessive Memory Grant</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2521787#M1959</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/162751"&gt;@Al_gar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please lower the JVM memory settings as this directly affects the memory allocation request to the database.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 17:28:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2521787#M1959</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2025-06-19T17:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Excessive Memory Grant</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2521791#M1961</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121014"&gt;@Dana_Baldwin&lt;/a&gt;&amp;nbsp;, I ran the SELECT statement directly from SSMS.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 17:57:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2521791#M1961</guid>
      <dc:creator>Al_gar</dc:creator>
      <dc:date>2025-06-19T17:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Excessive Memory Grant</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2521793#M1962</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/162751"&gt;@Al_gar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, I understand - but the JVM settings in Compose affect the memory allocation in SQL Server. What is the full version number of Compose you are running?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 18:05:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2521793#M1962</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2025-06-19T18:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Excessive Memory Grant</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2521857#M1965</link>
      <description>&lt;P&gt;We have Qlik Compose&amp;nbsp;December 2024 (2024.12.0.21).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 17:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2521857#M1965</guid>
      <dc:creator>Al_gar</dc:creator>
      <dc:date>2025-06-20T17:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Excessive Memory Grant</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2523364#M1971</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/162751"&gt;@Al_gar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I apologize for the delayed response. There is a service pack available for Compose 2024.12 but I don't see any memory related items in the release notes.&lt;/P&gt;
&lt;P&gt;Under Manage Date Warehouse, select Manage, then go to the Advanced tab. What is the value specified for JVM memory? This has a direct impact on the allocated memory requested by Compose. It includes a minimum and maximum value. You might lower the max from 4096 to 3072 for example.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 20:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2523364#M1971</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2025-07-07T20:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Excessive Memory Grant</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2523516#M1972</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121014"&gt;@Dana_Baldwin&lt;/a&gt;&amp;nbsp;, We have JVM configured at 3072M:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Al_gar_0-1752007636818.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181912iD2B0E742C052C4D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Al_gar_0-1752007636818.png" alt="Al_gar_0-1752007636818.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 20:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2523516#M1972</guid>
      <dc:creator>Al_gar</dc:creator>
      <dc:date>2025-07-08T20:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Excessive Memory Grant</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2523517#M1973</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/162751"&gt;@Al_gar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In that event, please test with 2048M as the upper limit and let us know the results.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 21:02:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Excessive-Memory-Grant/m-p/2523517#M1973</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2025-07-08T21:02:52Z</dc:date>
    </item>
  </channel>
</rss>

