in reply to Reading a VERY LARGE file with SINGLE line as content!

As an alternative to reading fixed length data blocks, does the source data comprise records separated by char(s) other than \n ?

If so, you could try setting $/ to this value (thus modifying the input record separator) and using Marshalls' suggestion.

A user level that continues to overstate my experience :-))

Replies are listed 'Best First'.
Re^2: Reading a VERY LARGE file with SINGLE line as content!
by Marshall (Canon) on Jul 22, 2009 at 03:19 UTC
    I think you're right here. I suspect the OP's app gets into a disk thrashing mode due to lack of physical memory. To muck around with a 124 MB file, I would figure that a Win XP system needs at least 1 GB of physical memory. If the system has just 512 MB of memory, it will just "auger into the ground".

    I am a fan of taskinfo http://www.iarsn.com/taskinfo.html

    I don't get any "kickback" from this. I have used this program to solve some complex Windows problems. I don't mind giving Igor's program a recommendation because it works well.