[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] RE: HTMLTemplate::Expr consumes huge amounts of memory


On Sun, 12 Mar 2006, Dan Horne wrote:

The problem can be reproduced with the following code. To test, just run
instance.pl from the OS prompt.

As far as I can tell this is a problem in
CGI::Application::Plugin::AnyTemplate.  After commenting it out and
loading the template with HTML::Template::Expr directly the problem
goes away.

Without looking at the code I theorize that somehow CAP::AnyTemplate
is loading HTML::Template::Expr multiple times, causing
Parse::RecDescent to re-parse the grammar each time.  That sounds
pretty nutty though, so perhaps it can't be right.

In any case, I think I'm unlikely to solve this one for you!

-sam

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.