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