From: Bill Kelly Date: 2009-05-09T08:51:36+09:00 Subject: Re: Ruby memory usage From: "Pete Hodgson" > > ruby -v gives: > ruby 1.8.6 (2008-06-20 patchlevel 230) [i386-linux] patchlevel 230 was one of the bad ones. It leaks like a sieve. See [ruby-core] thread: [Ruby 1.8 - Bug #216] Memory leaks in 1.8.6p230 and p238 http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/17571 It affected a whole range of patchlevels: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/17596 Also, a leak of similar severity was introduced later on, starting in p296 lasting at least through p355: [ruby-core:22582] Re: [Bug #1223] Memory leak reintroduced in 1.8.6 branch? http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/22852 I'd recommend trying the recent official 1.8.6 release, p368 http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/332578 I have not personally tried p368 on my long-running servers, as I had already found a stable version, p279. So I have not had a need to upgrade the version. I can say that p279 is very stable in its memory profile. I'm guessing the official p368 release probably is too. Hope this helps, Bill