That's a question worth pondering. I'll have to give this one some thought.

Craig

Richard A. Wells wrote:
Is the real problem that process_file($file) will break on a single file that is larger than 4GB and not in how you go through the sequence of files?

Or is if you process 10 files, each .4GB, you die on the 10th file?

If the former then you might be slurping the file in its entirity and need to make process_file work record-at-a-time (or similar) and clear unnecessary state between lines.

If the latter then you've got a memory leak by not clearing state between files (and you might still have the former problem).

Cheers,
Richard



---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0539-0, 09/26/2005
Tested on: 9/26/2005 2:34:53 PM
avast! - copyright (c) 1988-2004 ALWIL Software.
http://www.avast.com



_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to