in reply to Re: Out of memory using chart::clicker
in thread Out of memory using chart::clicker

after some fun with Data::Dumper, i have come up with the following. YMMV.

# hack away at circular references! $chart->{component_list}->{components} = undef; $chart->{'contexts'}{'default'}{'range_axis'}{'parent'}{'component +_list'}{'components'} = undef; $chart->{legend}->{component_list}->{components} = undef; $chart->{plot} = undef; $chart->{contexts}->{default} = undef; $chart->{legend}->{clicker} = undef; $chart->{marker_overlay}->{clicker} = undef; $chart->{title}->{layout}->{component} = undef;

Replies are listed 'Best First'.
Re^3: Out of memory using chart::clicker
by Anonymous Monk on Apr 01, 2014 at 05:36 UTC
    I've released new versions of Graphics::Primitive (0.65) and Chart::Clicker (2.88) that seek to address this issue. If you still see leaks I'd appreciate another dump form the leakchecker. That was quite helpful.