[html-formfu] New Element::Date leaks memory?
fireartist at gmail.com
Tue Sep 4 14:13:29 GMT 2007
On 29/08/2007, Tobias Kremer <list at funkreich.de> wrote:
> Quoting Carl Franks <fireartist at gmail.com>:
> > I've fixed several circular references - you'll need to update both
> > HTML-FormFu and Catalyst-Controller-HTML-FormFu.
> > I've also submitted a bug report for 2 circular references in
> > DateTime::Format::Builder.
> > If it's a priority, you might want to apply the patch I submitted -
> > it's attached to the RT queue:
> > http://rt.cpan.org/Ticket/Display.html?id=29034
> > With both these changes, I've verified that a cat app with a Date
> > element no longer increases in RAM usage after the first hit.
> Great news! fireartist++
> I gave it a quick shot yesterday and received a LOT of "Reference is already
> weak" warning messages. I'll test it more thoroughly after I get back from
The warnings are be fixed now.
There's been a new release of DateTime::Format::Builder with my patch
- so that's great.
I'll bump our Makefile.PL prereqs to require it.
I'm still tracking down a final leak(s).
I'm still seeing a small increase in memory use under Catalyst - but
it's something that Devel::Cycle isn't picking up.
I'm also going to see what optimisations I can make regarding general
memory footprint - there's several avenues I've started looking down -
hopefully I'll get something out this week.
More information about the HTML-FormFu