in reply to Parsing a 3 - 4 gig text file

As Vsarkiss points out you really need to check your file opens.

I also found 3 links in one thread you might have missed

  • processing large files
  • Re: processing large files
  • Re: processing large files
  • Basically if you did not compile large file support into perl in you need to



    grep
    Unix - where you can throw the manual on the keyboard and get a command

    Replies are listed 'Best First'.
    Re: Re: Parsing a 3 - 4 gig text file
    by defyance (Curate) on May 14, 2002 at 20:00 UTC
      I know this sounds crazy, but have you checked the syntax of the name of the large file you are trying to read? In my past experiences with large fle manipulation, I have only recieved that error when I goof, and actually try to read on a closed file(don't ask, heh) or if the file I'm trying to read from simply doesn't exist(i.e. Typo on the file name). I think that if the data your trying to read from this file was too big, it would give a different error.

      Am I making sence?

      -- Yes, I am a criminal. My crime is that of defyance.