in reply to Re: Memory issue while opening and reading a file
in thread Memory issue while opening and reading a file

Don't forget that one byte in the file does not equate to one byte in memory here. I have seen figures quoted of a factor of 5-10 times overhead for Perl data.
  • Comment on Re^2: Memory issue while opening and reading a file