Max Kanat-Alexander wrote:
        I store a Template object inside of $r->pnotes().
[...]
        Every time I reload the script, the process uses an *additional* 512K
of RAM, forever, on and on, until my server runs out of memory.

        HOWEVER: If I "delete $r->pnotes->{template}" before the script ends,
there's no memory leak.

It sounds like a problem with the DESTROY method in Template::Provider. Can you add some logging to that method to see if it gets called?

- Perrin

Reply via email to