Skip Menu |

This queue is for tickets about the POE-XS-Queue-Array CPAN distribution.

Report information
The Basics
Id: 20018
Status: resolved
Priority: 0/
Queue: POE-XS-Queue-Array

People
Owner: Nobody in particular
Requestors: TONYC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.001
Fixed in: (no value)



Subject: leaks memory by the bucket
The following code memory leaks on various platforms: #!/usr/bin/perl -w use POE::XS::Queue::Array; my $q = POE::XS::Queue::Array->new; # or #use POE::Queue::Array; #my $q = POE::Queue::Array->new; print "inital: \n", `ps -o rss -p $$`; for (1..1000){ my $id = $q->enqueue($_ % 4, "payload $_"); $q->dequeue_next; print "$_:\n", `ps -o rss -p $$`; } http://www.nntp.perl.org/group/perl.poe/3463