[html-formfu] out of memory errors under perl debugger

Jim Spath jspath at pangeamedia.com
Tue Sep 11 19:54:09 GMT 2007


Jim Spath wrote:
> There seems to be a problem with running HTML::FormFu under the Perl 
> debugger.  The following code works perfectly fine, but when I run it 
> under the debugger it dies with an "Out of memory!" error.
> 
> use HTML::FormFu;
> 
> my $formfu = HTML::FormFu->new({
>   render_class_args => {
>     INCLUDE_PATH => '../../templates/formfu',
>   },
>   elements => [
>     {
>      name => 'foo',
>      type => 'Text',
>     },
>   ],
> });
> 
> print $formfu;
> 
> I am running HTML::FormFu version 0.01003 under Perl 5.8.7 on Ubuntu LTS 
> 6.06.

I'm narrowed it down a bit and the "Out of memory!" error seems to occur 
  in HTML::FormFu::Render::base::xhtml() when we call $template->process().

If it matters I am using Template 2.19.

- Jim



More information about the HTML-FormFu mailing list