[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] HELP! Runaway file read!!!



At 06.07 +0100 99-02-19, Bryan Patzke wrote:
>What happens is that the script just keeps reading data in until I get an
>"out of memory" error (even with MacPerl's memory partition set to 100+MB!)
>(The sample log file I'm using for testing is maybe a few thousand lines).
>
># Suck in the whole file and push each field into array element/hash
>reference.

Do you have to suck the whole file in? That's asking for memory trouble!

/Cajo.

___Carl_Johan_Berglund_________________________
   Adverb Information
   carl.johan.berglund@adverb.se
   http://www.adverb.se/



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch