Paul <paul.rogers / shaw.ca> wrote:
> The app starts at around 15M, and increases to about 100M after 3
> days.

looking at a 210Mb Ruby process now myself (1.8.1 Linux),
how does the Ruby gc reclaim memory anyway?

Does the Ruby gc
a) defragment memory and mem use always shrinks down to used
   size after some gc iterations or
b) mem grows and if mem gets freed only in small pieces and never free
   in large pieces only holes get filled by newer allocations


I suspect a case of b, as ObjectSpace count goes down by 140000 (~10% of
ObjectSpace count) but "ps" mem usage doesn't :-/

Martin