From: ts Date: 2008-02-19T23:41:58+09:00 Subject: Re: GC error ? >>>>> "R" == =?ISO-8859-2?Q?Rados=B3aw Bu=B3at?= writes: R> My point is that this simple program should use constant amount of R> _maximum_ (like mine simple program). memory but it doesn't (even if R> we call GC manually it frees memory but heap capacity increases so R> each time maximum used memory is greater than before). Write it like this def leaker GC.disable a = "" 10000.times do a = a + "buble" end GC.enable a = "" end Guy Decoux