The comments in thrash.perl mention that it test for memory leaks.
And by running it you can see that it does leak memory (perl 5.6.1 and
0.17).

A quick glance at the code show no obvious data storage that could
explain it so I am wondering if it is supposed to increase its memory
usage?

Starting thrash.perl:

30803 gk        50    0 2924K 4124K run   -        0:01  6.01% perl

30 seconds later:

30803 gk        64    0 4088K 5180K run   -        0:42 77.98% perl

30 seconds later:

30803 gk        63    0 5156K 6060K run   -        1:14 84.38% perl

And so on..

Reply via email to