diff says memory exhausted need help with perl
- From: tc314@xxxxxxxxxxx
- Date: Fri, 28 Mar 2008 14:26:56 -0700 (PDT)
I've got two similar large files with one word per line and they're
sorted.
Each file has a few words not in the other.
I typically identify the unique words in the file using diff,grep,cut.
When the files are too big (2Gig) diff dies with "memory exhausted".
I want to search for the unique words in file1 but I might need to
ping-pong since neither file is a superset of the other.
I don't want to be limited by physical RAM as the file sizes exceed
RAM.
I assume I'm not the first to have this problem.
Can someone point me to perl code?
TIA
.
- Follow-Ups:
- Re: diff says memory exhausted need help with perl
- From: John W. Krahn
- Re: diff says memory exhausted need help with perl
- From: Lawrence Statton
- Re: diff says memory exhausted need help with perl
- Prev by Date: Re: Handling OLD files
- Next by Date: Re: how to replace @ inside of { }
- Previous by thread: Install CPAN module in shared hosting
- Next by thread: Re: diff says memory exhausted need help with perl
- Index(es):