Skip Menu |
 

This queue is for tickets about the List-MoreUtils CPAN distribution.

Report information
The Basics
Id: 48669
Status: resolved
Priority: 0/
Queue: List-MoreUtils

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 0.400_003



Subject: 0.25_02 memory leak on die
Date: Thu, 13 Aug 2009 11:50:35 +1000
To: bug-List-MoreUtils [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
Download (untitled) / with headers
text/plain 443b
With List::MoreUtils 0.25_02 and recent debian i386 perl 5.10.0 the program below seems to consume ever more memory, where I hoped it would remain constant. I suspect the COPY_STACK space is not freed if the callback throws an exception. (I wondered the same about the part() return value array a while ago, but never made an actual report.) Maybe an actual AV that FREETMPS would release might be an easy way to let perl do the cleanups.
Download foo.pl
text/x-perl 140b
use strict; use warnings; use List::MoreUtils; print List::MoreUtils->VERSION, "\n"; for (;;) { eval { List::MoreUtils::any {die} 1 }; }
This seems to be resolved in recent releases


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.