<?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: Intervalmatch memory problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Intervalmatch-memory-problem/m-p/816917#M288085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have two tables initially, the "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Campaign" table and a second table that contains "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;%CalendarDate". Both these tables contain the field "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;%CampaignProductKey".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Then you (correctly) create a third table "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;KAMPAGNENZUORDNUNG" to link the two above tables. However, the two initial tables are still linked through the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;%CampaignProductKey", which means that you will get a synthetic key that eats memory.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Solution: You need to delete &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;%CampaignProductKey" from one of these tables at the end of the script, e.g. through&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp; Drop Field &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;%CampaignProductKey" From &lt;SPAN style="font-size: 13.3333330154419px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Campaign" ;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;HIC&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2015 09:22:13 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2015-03-30T09:22:13Z</dc:date>
    <item>
      <title>Intervalmatch memory problem</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-memory-problem/m-p/816916#M288084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in an attempt to optimize one of my reports, i tried to link a campaign products table with the facts table using extended intervalmatch.&lt;/P&gt;&lt;P&gt;So far, i just linked the two tables with the product key and used an if expression to sum up sales within start and end date of the campagin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i tried the script with one month of data it worked fine so far. As expected the script reload needed a little more time, but all within normal duration. But as soon as i reload the whole data my application memory allocation explodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fact table for ~28months consists of about 24million lines. The campaign table has at about 1mio distinct product-date frame values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The strange thing is, that script execution everything works really fine and the intervalmatch doesnt seem to cause any problem, but as soon as the script finishes and the sheet property window is shown, the memory starts to grow indefinitely. Usually i have to kill the process at about 32gb of ram allocation, because the server starts to freeze. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script is rather straightforward:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEMPKampagnenzuordnung:&lt;/P&gt;&lt;P&gt;IntervalMatch(%CalendarDate, %CampaignProductKey) LOAD&amp;nbsp; CampaignStartDate, CampaignEndDate, %CampaignProductKey Resident Campaign;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KAMPAGNENZUORDNUNG:&lt;/P&gt;&lt;P&gt;LOAD AutoNumber(%CampaignProductKey&amp;amp; '|' &amp;amp; num(CampaignStartDate) &amp;amp; '|' &amp;amp; num(CampaignEndDate)) as %CAMPAIGNKEY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(%CampaignProductKey&amp;amp; '|' &amp;amp; %CalendarDate) as %CAMPAIGNSALESKEY&lt;/P&gt;&lt;P&gt;Resident TEMPKampagnenzuordnung;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table TEMPKampagnenzuordnung;&lt;/P&gt;&lt;P&gt;Drop Field %AktionsArtikelKey;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an idea what could cause this issue - except the huge datamodel &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 08:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-memory-problem/m-p/816916#M288084</guid>
      <dc:creator />
      <dc:date>2015-03-30T08:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch memory problem</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-memory-problem/m-p/816917#M288085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have two tables initially, the "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Campaign" table and a second table that contains "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;%CalendarDate". Both these tables contain the field "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;%CampaignProductKey".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Then you (correctly) create a third table "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;KAMPAGNENZUORDNUNG" to link the two above tables. However, the two initial tables are still linked through the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;%CampaignProductKey", which means that you will get a synthetic key that eats memory.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Solution: You need to delete &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;%CampaignProductKey" from one of these tables at the end of the script, e.g. through&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp; Drop Field &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;%CampaignProductKey" From &lt;SPAN style="font-size: 13.3333330154419px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Campaign" ;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;HIC&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 09:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-memory-problem/m-p/816917#M288085</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-03-30T09:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch memory problem</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-memory-problem/m-p/816918#M288086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for the reply and sorry for my sloppy script example above. I translated the german field names to English for better understanding, but forgot to do the same with the dropped field at the end. &lt;/P&gt;&lt;P&gt;Drop Field %AktionsArtikelKey; = &lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;%CampaignProductKey&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;The datamodel itself looks fine and no synthetic keys or loops so far. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Here a screen loaded with 1 month of data and German names &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG alt="Datamodel.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/82325_Datamodel.JPG" style="height: 315px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 09:31:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-memory-problem/m-p/816918#M288086</guid>
      <dc:creator />
      <dc:date>2015-03-30T09:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch memory problem</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-memory-problem/m-p/816919#M288087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dann ist es wahrscheinlich nur die Größe des Datenmodells. Deine Datenmodell sieht perfekt aus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was passiert wenn Du &lt;SPAN style="font-size: 13.3333330154419px;"&gt;nur &lt;/SPAN&gt;mit 12 Monaten von Daten &lt;SPAN style="font-size: 13.3333330154419px;"&gt;versuchts &lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 09:39:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-memory-problem/m-p/816919#M288087</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-03-30T09:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch memory problem</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-memory-problem/m-p/816920#M288088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Konnte das nun endlich austesten, ein Jahr an Daten benötigt etwa 2,5GB RAM und 350MB auf der HDD bei hoher Kompression. Also etwa ein Drittel der Gesamtdaten. Wenn der RAM Bedarf linear zu den Daten steigt sollt ich maximal ja schlimmstenfalls in den 10GB Bereich kommen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Werd mal schrittweise die Jahre hinzunehmen und schauen wann der Todpunkt erreicht wird.&lt;/P&gt;&lt;P&gt;Interessant ist wie erwähnt eigentlich nur, daß von der Datengröße ja kein sprunghafter Zuwachs erfolgt und der Intervalmatch im Load ja reibungslos funktioniert, nur werden scheinbar irgendwelche Kalkulationen oder Prüfungen im Anschluss aufgerufen die sich im Arbeitsspeicher riesig aufblähen. Zumindest kann ich Chart-Formeln hier schon ausschließen, da die Applikation selbst leer ist &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:46:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-memory-problem/m-p/816920#M288088</guid>
      <dc:creator />
      <dc:date>2015-03-30T13:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch memory problem</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-memory-problem/m-p/816921#M288089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok ist mir jetzt etwas peinlich, aber es dürfte zumindest gelöst sein.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ich hatte zwar keine Charts in der Applikation, aber es waren scheinbar eine ganze Menge Formeln in Variablen hinterlegt und eine bzw. mehrere davon dürften dann durch den Umbau des Datenmodels ein Problem bei der Kalkulation verursacht haben das den Arbeitsspeicher leer gefressen hat. Nachdem ich das Script nun einfachheitshalber in ein neues leeres Dokument übernommen habe, läufts einwandfrei mit den kompletten Daten.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vielen Dank für deine Ratschläge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 14:29:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-memory-problem/m-p/816921#M288089</guid>
      <dc:creator />
      <dc:date>2015-03-30T14:29:53Z</dc:date>
    </item>
  </channel>
</rss>

