in reply to
Memory issue while opening and reading a file
Looks like the line: @records = <TEST>; attempt to read all of the 3GB file into the perl process memory, where it will not fit. Consider splitting your 3 GB file into smaller pieces.
Comment on
Re: Memory issue while opening and reading a file
In Section
Seekers of Perl Wisdom