Re: [Templates] Template Process Issue? Leak?

[prev] [thread] [next] [Date index for 2005/02/22]

From: Darren Chamberlain
Subject: Re: [Templates] Template Process Issue? Leak?
Date: 16:38 on 22 Feb 2005
--BwCQnh7xodEAoBMC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* <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)

--=20
When correctly viewed, everything is lewd.
    -- Tom Lehrer

--BwCQnh7xodEAoBMC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iEYEAREDAAYFAkIbYAsACgkQzsinjrVhZaqbxACgl+ZYXonI92yxrcxvR7kR7ymt
BrgAoIImJ0EK0g+q1+kVaYZ13Znv1zi7
=bITd
-----END PGP SIGNATURE-----

--BwCQnh7xodEAoBMC--

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

Re: [Templates] Template Process Issue? Leak?
Darren Chamberlain 16:38 on 22 Feb 2005

Re: [Templates] Template Process Issue? Leak?
Vivek Khera 17:13 on 22 Feb 2005

Generated at 08:56 on 15 Mar 2005 by mariachi v0.52