[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: When are coroutines collected?
- From: "Javier Guerra" <javier@...>
- Date: Wed, 27 Feb 2008 10:45:26 -0500
On 2/27/08, Chris <coderight@gmail.com> wrote:
> which use about 1.3 GB of RAM, after the collection the process it is
> still using 1.3 GB of RAM.
AFAIR, on unix (and unix-like) systems, a process never releases
memory back to the OS, but it's managed internally as free.
what happens if you allocate another million coroutines after garbage
collecting the first million? do you still use roughly 1.3GB? or does
it goes to 2.6GB?
if it doesn't grow, you'll have to get more frequent collections, so
that you don't have the whole million (or two) coroutines at the same
time
--
Javier