From: Sylvain Joyeux Date: 2007-10-12T03:25:52+09:00 Subject: Re: Should *most* memory be release back to the system? > Ruby does make a reasonable effort to return unused blocks ("heaps" in > the parlance of gc.c) to the OS[3], when it is possible to do so. But > it is not always possible to do so. Ruby does not free heaps. It it supposed to do so, but the way it allocates very big heaps forbids him to do that in practice. Search the 'gc.c -- possible logic error?' thread on ruby-core for details. Nonetheless, you have a lot of objects in less than 10M of heaps (and I mean *a lot*), so the 150M memory usage is certainly not due to that. -- Sylvain Joyeux