My guess is that you're doing something like
sub is_useful; open $fh, '<', 'purr' or die "Sad kitty: $!"; my @useful_things = (); while(<$fh>){ push @useful_things if is_useful( $_ ); }
So all that data is ending up stashed in memory, even though you're reading the file a line at a time.
@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;
In reply to Re: Parsing very big files GB
by f00li5h
in thread Parsing very big files GB
by rootcho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |