in reply to memory monster
After you'd built this up, you could sort by date, get each line number, seek to the line, parse and print it, and move to the next one. You'd never be storing the contents of the log file entries in memory, so your memory needs should drop a great deal.
Also, I'd investigate the Tie::* modules on CPAN. There are a number of tied hashes which handle disk-based storage.
stephen
|
|---|