Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

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

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

Bug Information
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!