This code consumes more and more memory: $ perl -e 'while (1) { eval qq{my $x : shared}; }' perl-5.16 (F≥18) is affected. Fixes by upstream commit: commit 9fa29fa7929b4167c5491b792c5cc7e4365a2839 Author: Father Chrysostomos <sprout> Date: Wed Sep 19 21:53:51 2012 -0700 [perl #114764] Stop my vars with attrs from leaking S_apply_attrs was creating a SV containing a stash name, that was later to be put in a const op, which would take care of freeing it. But it didn’t free it for a my variable, because the branch where that const op was created didn’t apply. So move the creation of that SV inside the branch that uses it, otherwise it leaks. This leak was the result of commit 95f0a2f1ffc6.
There is leaking another place because just this patch is not enough. Test from patch passes, but code from first comment still suffers.
perl-5.16.1-232.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/perl-5.16.1-232.fc18
Package perl-5.16.1-232.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing perl-5.16.1-232.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-14584/perl-5.16.1-232.fc18 then log in and leave karma (feedback).
perl-5.16.1-232.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.