jethro has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
just found a really simple memory leak:
#!/usr/bin/perl again: my $h; goto again;
I only could test it on perl5.18.2 and 5.20.2. Since it is so trivial/universal, I really suspect this is already widely known, but I couldn't find it mentioned in the perldeltas or on rt.perl.org.
If not, could someone with an up-to-date version of perl test this snippet and forgive me for not wanting to install the newest perl just for this quick check (just run it and look what "top" says, the leak is immediately evident).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: "goto" memory leak
by Anonymous Monk on Mar 29, 2016 at 17:33 UTC | |
Re: "goto" memory leak
by dave_the_m (Monsignor) on Mar 30, 2016 at 08:52 UTC | |
by jethro (Monsignor) on Mar 30, 2016 at 12:35 UTC | |
by ikegami (Patriarch) on Mar 30, 2016 at 13:15 UTC | |
by jethro (Monsignor) on Mar 30, 2016 at 14:24 UTC | |
by dave_the_m (Monsignor) on Mar 30, 2016 at 18:27 UTC | |
| |
by ikegami (Patriarch) on Mar 31, 2016 at 02:40 UTC | |
| |
by Anonymous Monk on Mar 30, 2016 at 19:26 UTC |
Back to
Seekers of Perl Wisdom