Run this program and observe memory usage.

<code>

def leaker
    a = ""
    10000.times do
         a = a + "buble"
    end
    a = ""
end


loop do
    leaker
end

</code>
-- 
Posted via http://www.ruby-forum.com/.