H
Hemant
Hi,
We are getting "Out of Memory" exception while using Directory.GetFiles()
method if there are large number of files present in the directory on which
the method is being executed.
We would like to have an alternate solution for picking files from the
directory, like picking only 10 or 15 files at a time.
Is there anything in GetFiles() method with which we can tweak in its
functionality to pick only a certain number of files? Or if there's an
alternate solution for the same, please do let us know.
Thanks,
Hemant
We are getting "Out of Memory" exception while using Directory.GetFiles()
method if there are large number of files present in the directory on which
the method is being executed.
We would like to have an alternate solution for picking files from the
directory, like picking only 10 or 15 files at a time.
Is there anything in GetFiles() method with which we can tweak in its
functionality to pick only a certain number of files? Or if there's an
alternate solution for the same, please do let us know.
Thanks,
Hemant