Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-MIME CPAN distribution.

Report information
The Basics
Id: 59581
Status: resolved
Priority: 0/
Queue: Email-MIME

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

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



Subject: walk_parts leaks memory
Download (untitled) / with headers
text/plain 494b
I had a program that was regularly leaking a small amount of memory. Upon investigation with some custom tools that I've built around Devel::Gladiator, I discovered that after 11900 iterations of my program, I had 11901 copies of an array that looks something like this, in memory: [$callback,$part,$walk,@subparts,undef,undef,undef,undef,undef,undef,unde f,undef,undef,undef,undef,undef,undef,undef,undef,undef] If I comment-out $email->walk_parts from my code, the leak stops happening.
Hey hey. Any traction on this?
Download (untitled) / with headers
text/plain 114b
Fixed in 1.904, thanks for the report. For a more elegant fix that I did not use, look at commit 1.904^ -- rjbs


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.