Thanks Marshall for the reply.
Actually, The requirement is more like V-Lookup functionality in Excel. Except for two columns, we have two files.
It means that, There is a file A which is large in size in range of 150-200 MB. This file A contains information about work orders (like Order No, Order Name, Supplier No, Supplier Name, Created Date...and so on)
There is another file B, which contains only Supplier No for particular region. This file is generally less than 1 MB..around 700 KB something.
Now, I have to write those records in file C (a new file, kind of output file) for which Supplier No in file B matches with Supplier No in file A.
So, If you look at the code that I have written, I take the file B contents in a list & then for each Supplier No in file B, I iterate the large file A line by line & check if Supplier No is present in the line. If so, I write the line into file C.
Can you please suggest now, where I am going wrong?
In reply to Re^2: Out of Memory Error : V-Lookup on Large Sized TEXT File
by TheFarsicle
in thread Out of Memory Error : V-Lookup on Large Sized TEXT File
by TheFarsicle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |