Hi,

At Sat, 15 Dec 2001 10:06:32 +0900,
Christian Kruse <CK1 / wwwtech.de> wrote:
> I've got a little question: when ruby reserves memory, when will it be
> freed? When the gc is running?

Yes.

> For example, if a application runs long time in select-mode, ruby could
> even free the memory, couldn't it? Does it already?

What's select-mode?  Sleeping and/or IO blocking?  Then, it
couldn't.  In the case of it's serious, you can run GC in
background.

  Thread.start {loop {sleep(1000); GC.start}}


Nobu Nakada