Who told you that?
Memory mapped files are (were) used mostly to share big amount of
data between applications, and to allocate more memory than the
32MB slot limit. Nowadays, file accees is so optimized that using
that tecnique is overkilling. Just use fast methods to access to
your file (that means open your file as binary instead of text)
Searching 1GB of data will take a long time regardless if your
data is in memory or in a file, if you have to read all of it...
Instead of searching the net, use the MSDN library and do a search
for "memory mapped file", you'll find a lot of documentation and
tutorials (and look at the dates, they are all many years old)
Marco
> Hello,
> ummm....Somebody told me that using Memory Mapped Files will solve my
p> roblem on searching for a text on very large files (1 GB). Is this
true?
i> wonder if you can help me on how to use this, is there a site that
o> ffers tutorials for this? i tried to search the web but unfortunately i
d> id not find one.
> If this would really be helpful to me, i am willing to take my chance to
l> earn using Memory Mapped Files in Visual Basic. The Large text files
that
i> am searching for a particular text is Fixed in Length just for your
info.
> Thanks/Regards
S> idney