pradeep has asked for the wisdom of the Perl Monks concerning the following question:
The code worked well for a couple of log files but is faltering with more files, citing out of memory.if($service ne '') { if($cookie ne '') { if($loginstatus == 1) { $CookHash{$cookie}{$service}->[0]++; } # 0 - +logged in page views else { $CookHash{$cookie}{$service}->[1]++; } # 1 - +not logged in page views } else { $NoCookieCnt++; $NoCookie{$service}->[0]++; # No c +ookie page views of service } $service = ''; }
edit (broquaint): added <code> tags + formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Again out of memory
by rdfield (Priest) on Oct 30, 2002 at 09:24 UTC | |
by derby (Abbot) on Oct 30, 2002 at 13:01 UTC |