<?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 Memory Peak when concatenating ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Memory-Peak-when-concatenating/m-p/302499#M111884</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;In my experience, when you force concatenate, QlikView has to generate the columns that are new but then goes off and creates the links to the existing rows that have already been loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always will load the largest table first and, if I am having problems like yours, make sure that I load the fields that I know will be added later with null values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SalesID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ProductID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SalesValue,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Quantity,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; null() as PurchaseField1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; null() as PurchaseField2&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That way, the fields are already created and you shouldn't see the spike.&lt;/P&gt;&lt;P&gt;&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;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2012 14:23:38 GMT</pubDate>
    <dc:creator>stephencredmond</dc:creator>
    <dc:date>2012-01-24T14:23:38Z</dc:date>
    <item>
      <title>Memory Peak when concatenating ?</title>
      <link>https://community.qlik.com/t5/QlikView/Memory-Peak-when-concatenating/m-p/302498#M111883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting a little frustrated about an application i'm developping (financial purposes).&lt;/P&gt;&lt;P&gt;I have multiple fact tables which i want to concatenate to a unique one, linked to various dimensions; tables can be grouped in 2 categories : pure financial &amp;amp; purchases, the biggest one is about 25 millions rows (financial).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i reload my script, the financial ones are concatenated correctly, but as soon as QV reaches the first purchase table, there is a RAM consumption peak (from 2.5GB to 10GB, and there is max. 300000lines in each purchase table) : do you have an idea where it could come from ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know my concaternation aren't optimized since there are explicitly forced and tables don't have same numbers of columns; but i doubt it could come from here considering the number of lines in new tables to concat and the giant RAM consumption peak; it reminds me the behaviour of a cartesian product !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script is attached, problem appears in tab "Faits", line 43. This app is next binary loaded by.a qvw which contains charts &amp;amp; other visualizations items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already tried to concat them differently, one by one or with intermediate concats :this is the current solution in attached file,in which i try to concat a 33millions lines table (finance) with a 300839 lines table (purchase).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 13:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Memory-Peak-when-concatenating/m-p/302498#M111883</guid>
      <dc:creator />
      <dc:date>2012-01-24T13:55:49Z</dc:date>
    </item>
    <item>
      <title>Memory Peak when concatenating ?</title>
      <link>https://community.qlik.com/t5/QlikView/Memory-Peak-when-concatenating/m-p/302499#M111884</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;In my experience, when you force concatenate, QlikView has to generate the columns that are new but then goes off and creates the links to the existing rows that have already been loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always will load the largest table first and, if I am having problems like yours, make sure that I load the fields that I know will be added later with null values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SalesID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ProductID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SalesValue,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Quantity,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; null() as PurchaseField1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; null() as PurchaseField2&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That way, the fields are already created and you shouldn't see the spike.&lt;/P&gt;&lt;P&gt;&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;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 14:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Memory-Peak-when-concatenating/m-p/302499#M111884</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2012-01-24T14:23:38Z</dc:date>
    </item>
    <item>
      <title>Memory Peak when concatenating ?</title>
      <link>https://community.qlik.com/t5/QlikView/Memory-Peak-when-concatenating/m-p/302500#M111885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think i'm gonna try, i really don't understand what's going on : +7GB for 300.000 lines, even if QV has to generate columns it seems REALLY huge !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 14:33:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Memory-Peak-when-concatenating/m-p/302500#M111885</guid>
      <dc:creator />
      <dc:date>2012-01-24T14:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Peak when concatenating ?</title>
      <link>https://community.qlik.com/t5/QlikView/Memory-Peak-when-concatenating/m-p/302501#M111886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV is really strange sometimes -&amp;gt; i simply changed the order of concatenation and it worked like a charm &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Before - doesn't work]:&lt;/P&gt;&lt;P&gt;LOAD F902&lt;/P&gt;&lt;P&gt;CONCATENATE&lt;/P&gt;&lt;P&gt;LOAD F911&lt;/P&gt;&lt;P&gt;CONCATENATE &lt;/P&gt;&lt;P&gt;LOAD F1602&lt;/P&gt;&lt;P&gt;CONCATENATE&lt;/P&gt;&lt;P&gt;LOAD F43121&lt;/P&gt;&lt;P&gt;CONCATENATE&lt;/P&gt;&lt;P&gt;LOAD F4311&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Now - totally work]:&lt;/P&gt;&lt;P&gt;LOAD F43121&lt;/P&gt;&lt;P&gt;CONCATENATE&lt;/P&gt;&lt;P&gt;LOAD F4311&lt;/P&gt;&lt;P&gt;CONCATENATE&lt;/P&gt;&lt;P&gt;LOAD F902&lt;/P&gt;&lt;P&gt;CONCATENATE&lt;/P&gt;&lt;P&gt;LOAD F911&lt;/P&gt;&lt;P&gt;CONCATENATE&lt;/P&gt;&lt;P&gt;LOAD F1602&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone is able to explain this to me... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 15:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Memory-Peak-when-concatenating/m-p/302501#M111886</guid>
      <dc:creator />
      <dc:date>2012-01-24T15:38:38Z</dc:date>
    </item>
  </channel>
</rss>

