<?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 filelist() problem with large data amounts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/filelist-problem-with-large-data-amounts/m-p/212632#M66558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;I've stumbled across a problem with the filelist() function.&lt;/P&gt;&lt;P&gt;What I'm doing is reading the filenames of files in a certain folder. This specific folder has over 3,000,000 files. It is running fine with around 600,000 files but gets stuck after about 1,000,000 - 1,500,000 files. This occurs even though there is still memory free.&lt;/P&gt;&lt;P&gt;My thoughts are that it might be a limitation on the underlying function. I'm guessing filelist uses filesystemobject or something like that.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Dec 2010 13:07:09 GMT</pubDate>
    <dc:creator>saxjonas</dc:creator>
    <dc:date>2010-12-03T13:07:09Z</dc:date>
    <item>
      <title>filelist() problem with large data amounts</title>
      <link>https://community.qlik.com/t5/QlikView/filelist-problem-with-large-data-amounts/m-p/212632#M66558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;I've stumbled across a problem with the filelist() function.&lt;/P&gt;&lt;P&gt;What I'm doing is reading the filenames of files in a certain folder. This specific folder has over 3,000,000 files. It is running fine with around 600,000 files but gets stuck after about 1,000,000 - 1,500,000 files. This occurs even though there is still memory free.&lt;/P&gt;&lt;P&gt;My thoughts are that it might be a limitation on the underlying function. I'm guessing filelist uses filesystemobject or something like that.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 13:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filelist-problem-with-large-data-amounts/m-p/212632#M66558</guid>
      <dc:creator>saxjonas</dc:creator>
      <dc:date>2010-12-03T13:07:09Z</dc:date>
    </item>
    <item>
      <title>filelist() problem with large data amounts</title>
      <link>https://community.qlik.com/t5/QlikView/filelist-problem-with-large-data-amounts/m-p/212633#M66559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It is not "best practice" to store that many files in same folder, regardless of operating system&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;I had another problem while looping over folders, looping over subfolders, and loading files from subfolders. It was terribly slow in QlikView. I ended up calling "grep" recursively over subfolders, concatenated output into a big text file and loaded that to QV. Running grep + loading one file was much faster.&lt;/P&gt;&lt;P&gt;You could start with "dir * &amp;gt; list.txt" . Probably you want to do something to content of those files later &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;-Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 13:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filelist-problem-with-large-data-amounts/m-p/212633#M66559</guid>
      <dc:creator />
      <dc:date>2010-12-03T13:37:19Z</dc:date>
    </item>
    <item>
      <title>filelist() problem with large data amounts</title>
      <link>https://community.qlik.com/t5/QlikView/filelist-problem-with-large-data-amounts/m-p/212634#M66560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The files are in sub folders in the folder as well.&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;Great idea! That way I can get lots of other info as well such as owner and creation date.&lt;BR /&gt;I'll probably use dir then and then load the txt and later store it in a qvd.&lt;/P&gt;&lt;P&gt;Any tips for running dir on reload of the QVW? I know macros aren't the best things to have in the load script but maybe if they're synchronous I could do a "dir * &amp;gt; filelist.txt" before the LOAD statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 14:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filelist-problem-with-large-data-amounts/m-p/212634#M66560</guid>
      <dc:creator>saxjonas</dc:creator>
      <dc:date>2010-12-03T14:02:41Z</dc:date>
    </item>
  </channel>
</rss>

