This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
69463
Status:
resolved
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
Unimportant
Broken in:
1.9600
Fixed in:
1.9800



Subject: Memory leak in CPAN::CacheMgr
Hi guys, CPAN::CacheMgr uses $self->{FIFO}, which gets populated with files/directories to remove but never emptied. In long run, it leads to memory leak, a lot of printed garbage and excessive disk usage (the same files are checked for existence on every cache removal). The fix to CacheMgr.pm is simple: 51a52
Show quoted text
> $self->{FIFO} = [];
-- Serguei Trouchelle
Well spotted! Thanks, applied.
Thanks again!


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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