On Feb 16, 2008, at 12:39 PM, Piotr Sawicki wrote:
> Robert Klemme wrote:
>> Your point being?
>>
>> robert
>
> I run this on ruby-1.8.6 (Linux and cygwin [WinXP]).
> Why memory used by ruby process grow?
> Is that normal behaviour ?
I ran that code via irb and compared the memory usage to running
'loop {}' in irb.
Your code used more memory but it oscillated around a fixed point
that was about 10 megabytes larger than the empty loop process, it
didn't grow.
This was on Mac OS X 10.4, ruby 1.8.6.