<?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 looping though listbox and make selection eats memory .. how do i free memory? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/looping-though-listbox-and-make-selection-eats-memory-how-do-i/m-p/222879#M75457</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Items in the listbox that are selected are quit a few .. about 1000.&lt;/P&gt;&lt;P&gt;I want to make a selection and then export. But on the selecting itself to memory keeps on rising on Qv.exe.&lt;/P&gt;&lt;P&gt;How can i clear the memory after the selection?&lt;/P&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;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt; ActiveDocument.Clearall&lt;BR /&gt; ActiveDocument.Sheets("SH01").Activate&lt;BR /&gt; Set Ftg = Activedocument.Fields("Column")&lt;BR /&gt; Set UrvFtg = Ftg.GetPossibleValues(1000)&lt;BR /&gt;&lt;BR /&gt; For i= 0 to UrvFtg.Count-1&lt;BR /&gt;&lt;BR /&gt; ActiveDocument.Fields("Column").Select UrvFtg.Item(i).Text&lt;BR /&gt; ActiveDocument.GetApplication.WaitForIdle&lt;BR /&gt;&lt;BR /&gt; Next&lt;BR /&gt;&lt;BR /&gt; end sub&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Oct 2009 04:52:41 GMT</pubDate>
    <dc:creator>amien</dc:creator>
    <dc:date>2009-10-23T04:52:41Z</dc:date>
    <item>
      <title>looping though listbox and make selection eats memory .. how do i free memory?</title>
      <link>https://community.qlik.com/t5/QlikView/looping-though-listbox-and-make-selection-eats-memory-how-do-i/m-p/222879#M75457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Items in the listbox that are selected are quit a few .. about 1000.&lt;/P&gt;&lt;P&gt;I want to make a selection and then export. But on the selecting itself to memory keeps on rising on Qv.exe.&lt;/P&gt;&lt;P&gt;How can i clear the memory after the selection?&lt;/P&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;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt; ActiveDocument.Clearall&lt;BR /&gt; ActiveDocument.Sheets("SH01").Activate&lt;BR /&gt; Set Ftg = Activedocument.Fields("Column")&lt;BR /&gt; Set UrvFtg = Ftg.GetPossibleValues(1000)&lt;BR /&gt;&lt;BR /&gt; For i= 0 to UrvFtg.Count-1&lt;BR /&gt;&lt;BR /&gt; ActiveDocument.Fields("Column").Select UrvFtg.Item(i).Text&lt;BR /&gt; ActiveDocument.GetApplication.WaitForIdle&lt;BR /&gt;&lt;BR /&gt; Next&lt;BR /&gt;&lt;BR /&gt; end sub&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 04:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/looping-though-listbox-and-make-selection-eats-memory-how-do-i/m-p/222879#M75457</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2009-10-23T04:52:41Z</dc:date>
    </item>
    <item>
      <title>looping though listbox and make selection eats memory .. how do i free memory?</title>
      <link>https://community.qlik.com/t5/QlikView/looping-though-listbox-and-make-selection-eats-memory-how-do-i/m-p/222880#M75458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try ClearCache.&lt;BR /&gt;Not sure if it helps, but worth trying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 09:59:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/looping-though-listbox-and-make-selection-eats-memory-how-do-i/m-p/222880#M75458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-23T09:59:15Z</dc:date>
    </item>
    <item>
      <title>looping though listbox and make selection eats memory .. how do i free memory?</title>
      <link>https://community.qlik.com/t5/QlikView/looping-though-listbox-and-make-selection-eats-memory-how-do-i/m-p/222881#M75459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if this would help, but I would try storing the value of UrvFtg.Count-1 in a variable instead of calling it in every for loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 12:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/looping-though-listbox-and-make-selection-eats-memory-how-do-i/m-p/222881#M75459</guid>
      <dc:creator />
      <dc:date>2009-10-23T12:22:27Z</dc:date>
    </item>
    <item>
      <title>looping though listbox and make selection eats memory .. how do i free memory?</title>
      <link>https://community.qlik.com/t5/QlikView/looping-though-listbox-and-make-selection-eats-memory-how-do-i/m-p/222882#M75460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Both&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 14:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/looping-though-listbox-and-make-selection-eats-memory-how-do-i/m-p/222882#M75460</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2009-10-23T14:02:29Z</dc:date>
    </item>
  </channel>
</rss>

