in reply to Perl memory leak?
Slurps 170MB of RAM in about 3 seconds on my NT box...perl -e "while (1){@X=split/:/,'1::'}"
then everything works as expected. "-1" tells split() to treat trailing empty fields as valid; i.e., not to ignore them.perl -e "while (1){@X=split/:/,'1::',-1}"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl memory leak?
by perlplexer (Hermit) on Apr 17, 2002 at 18:36 UTC | |
by particle (Vicar) on Apr 17, 2002 at 19:02 UTC | |
|
Re: Re: Perl memory leak?
by jsprat (Curate) on Apr 18, 2002 at 01:32 UTC |