On Thu, Dec 10, 2009 at 2:28 PM, E R <pc88m...@gmail.com> wrote:
> However, the memory allocated will get freed up or re-used by the next
> request

The memory won't get freed unless you undef all the variables
manually.  Perl keeps that memory otherwise, even when they go out of
scope.

If you know it will get reused on the next request, then set your size
limit higher.

If it's only being used for the current request and the odds of reuse
on the following requests is low, the best thing is to kill the
process as SizeLimit is doing.

- Perrin

Reply via email to