Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CPAN-Meta CPAN distribution.

Report information
The Basics
Id: 74662
Status: resolved
Priority: 0/
Queue: CPAN-Meta

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

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



Subject: Memory leak in CPAN::Meta::Converter
Ticket #74495 in CPAN.pm reports memory leak when repeatedly loading META files. I've narrowed it down to CPAN::META::Converter. Attached file (run in a directory with "META.json") demonstrates leak.
Subject: convert.pl
#!/usr/bin/env perl use 5.010; use strict; use warnings; use autodie; use CPAN::Meta::Converter; use Parse::CPAN::Meta; my $struct = Parse::CPAN::Meta->load_file("META.json"); my $cmc = CPAN::Meta::Converter->new( $struct ); while (1) { my $self = $cmc->convert( version => 2 ); }
Seems to be a memory leak when version objects are booleanized. So this is not really our bug, and I'll close the ticket.