Brian JenkinsBrian Jenkins
Standup 11/24/2008: Changes to GC in Ruby 1.8.6?
edit Posted by Brian Jenkins on Monday November 24, 2008 at 06:54PM

Ask for Help

"Does anyone know about recent changes to Ruby 1.8.6 garbage collection?"

We're seeing a strange test failure on one of our CI boxes:

[BUG] object allocation during garbage collection phase ruby 1.8.6 (2008-08-11) [i686-linux]

ruby -v gives this:

ruby 1.8.6 (2008-08-11 patchlevel 287) [i686-linux]

On the developer's OSX machine, which doesn't experience this bug, ruby -v gives:

ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]

There have apparently been changes to garbage collection in 1.8.7 and 1.9 -- does anyone know if these have been backported to 1.8.6 somewhere between patchlevels 114 and 287?

Comments

  1. Vince Vince on November 24, 2008 at 08:44PM

    Have you tried:

    http://www.rubyenterpriseedition.com/

    Ruby Enterprise Edition is a branch of Ruby, which includes:

    * An enhanced garbage collector. This allows one to reduce memory usage of Ruby on Rails applications (or any Ruby application that takes advantage of the feature) by 33% on average.
    * An improved memory allocator. This increases Ruby’s performance dramatically.
    * Various developer tools for debugging memory usage and garbage collector behavior.