Darren,
Thanks for responding so quickly.
As near as I can determine our usage of
the Template object does not indicate compiling
any templates that is COMPILE_EXT is left undef.
However, I tried it anyway and set CACHE_SIZE = 0.
Still seeing the jump. Is there anyway to disable
caching completely or to verify that it isn't being
cached?
Tony Santucci
2CO Product Development
[EMAIL PROTECTED]
Phone: 1-877-294-0273 x 129
1-614-921-2450 x 129
Fax: 1-(614 or 866)-921-2451
-----Original Message-----
From: Darren Chamberlain [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 22, 2005 11:39 AM
To: [email protected]
Subject: Re: [Templates] Template Process Issue? Leak?
* <asantucci at 2co.com> [2005/02/22 11:43]:
> I've got a memory leak and I've noticed one thing. The memory usage
> of the scripts seems to increase ( greatly ) with the call to
> $template->process. I've done the metrics with the GLibTop module and
> there is a 1.2 MB jump in the memory size of my process when I call
> the process method. This memory never gets released. Comment out the
> process call and no jump in memory...no page either but I guess you
> can't have everything.
Is it really a memory leak, or is the Template object caching compiled
templates?
(darren)
--
When correctly viewed, everything is lewd.
-- Tom Lehrer
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates