Ari Brown wrote:
>
> This can be of great use for computers with low memory - You run this
> script, it uses up all available memory, and then it exits. Guess what
> happens then? GC clears out all of the RAM the ruby script was using.
> And since it was using up all available RAM, other programs can then
> run better and faster.

At this moment, other programs have been painfully pushed to swap, so
they have to get out of swap before doing anything. If you want to solve
a memory management problem, don't use a program, tune your kernel (or
swap the OS for another if it's unable to do memory management properly,
Ruby works on a large choice of OS...).

Lionel