Mailing List Archive

(forwarded): Re: memory leak in 5.001m and 5.002beta1g
FYI: In lieu of prior bounced message.

------- Forwarded Message

Return-Path: gsar@aatma
Message-Id: <199512291512.KAA10723@aatma.engin.umich.edu>
To: David Muir Sharnoff <muir@idiom.com>
cc: perl-bug@perl.com, gsar@engin.umich.edu
Subject: Re: memory leak in 5.001m and 5.002beta1g
In-reply-to: Your message of "Thu, 28 Dec 1995 18:04:18 PST."
<199512290204.SAA02895@idiom.com>
Date: Fri, 29 Dec 1995 10:12:01 -0500
From: Gurusamy Sarathy <gsar>

On Thu, 28 Dec 1995 18:04:18 PST, David Muir Sharnoff wrote:
>
>The following program leaks memory like the stuff is free.
>
>#!perl5.002beta1g
>
>for ($j = 0; $j < 500001; $j++) {
> shift(@seconds)
> if ($j % 100 == 0);
>
> push(@{${seconds[0]}->{$j}}, "FOOBAR");
>}
>
>Am I having a bad brain-fart or is perl leaking a bit?
>

Doesn't with my patch (on 5.002b1g).

- Sarathy.
gsar@engin.umich.edu


------- End of Forwarded Message