in reply to Re: Freeing up memory
in thread Freeing up memory

It might be that the script is actually a mod_perl handler - and in this case it can happen that the memory is not released.