On Tue, Nov 26, 2002 at 11:19:35AM +0000, [EMAIL PROTECTED] wrote:
>     You are adding stuff to hashes. Hashes use memory. If the log is huge,
>     it will use a huge amount of memory.

Hashes use memory, but not that much memory.

The not particularly optimized parser I sketched out earlier handled 10,000
CVS log lines across 70 files and 1000 revisions using 4 megs and in 1
second.  Considering just running "perl -e 1" costs nearly 3.5 megs, it
would have to be quite a large project indeed to run out of memory.

Given that his run ran 30 minutes and he ran out of memory either he's got
an enormous CVS history or there's some infinite loop in his program which
is growing some data structure.  WWOD?


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
Playstation?  Of course Perl runs on Playstation.
    -- Jarkko Hietaniemi

Reply via email to