[VPM] deallocating memory of multi-threaded server while IDLE.
Eric Frazier
ef at kwinternet.com
Wed Feb 11 09:38:38 CST 2004
Hi,
Not that it matters that much, but I believe this is a OS level issue,
not even Perl.
Thanks,
Eric
On Tue, 2004-02-10 at 23:58, Darren Duncan wrote:
> On Tue, 10 Feb 2004, Jeremy Aiyadurai wrote:
> > how do i free up memory when a multi-threaded process is idle.
> > my problem is when ever i create a thread, it eats up more memory. when the
> > thread is done, the thread disappears, but the memory is not freed (by
> > looking at windows task manager).
> > so i'd like to free up memory when the process is idle.
> > thanks in advance for any help.
>
> In my understanding, Perl itself has a limitation that, while it can reuse
> memory allocated to it, it can not or will never return any of its memory
> to the system (except when it exits). I don't think you can get around
> this, and it would affect every platform. I could be wrong, though, about
> the general limitation. (I also wouldn't be surprised if Parrot didn't
> have that limitation.) -- Darren Duncan
More information about the Victoria-pm
mailing list