I'm surprised that you get Out Of Memory with a file size of only 230K. Aside from this, I would start with the second file, build a hash of its entries (such as '2000/01/03/xyz'), then process the first file line by line (not slurping it into memory at once), and for each element in file 1, see whether or not it appears in the hash.
In reply to Re: Read the two files
by rovf
in thread Read the two files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |