News for hackers. Stuff that matters.
Re:The Great Ruby Shootout (July 2010) by headius on Tuesday July 20, 2010 @03:48AM (#1531446)
Object sizes in JRuby are certainly larger, especially if you run on a 64-bit JVM which necessarily has 64-bit reference fields for all object references (basically everything in Ruby). It doesn't surprise me at all to see a single-threaded case with a lot of objects use more memory, but it would be interesting to see how much of that was unused heap space and how much was actually live data. MRI's less-efficient conservative collector can live in a smaller memory space, but you sacrifice performance.

There are no comments on this comment yet.