On Jul 9, 2010, at 11:36 AM, Charles Oliver Nutter wrote: > FWIW, I wrote up a blog post last night about how to walk the heap, > examine memory sizes, and so on using JRuby. One of the items I called > out were all the Gem::Version objects in memory, and there's other > offenders. If you'd like to do some of that exploration, I'm happy to > help.
Evan and I were talking a while ago about changing RubyGems to memoize/reuse Gem::Version, Gem::Dependency, and Gem::Requirement. The burndown I did on them for 1.3.4 made them immutable, so it shouldn't be a huge effort. Interested in poking at that with us? ~ j. _______________________________________________ Rubygems-developers mailing list http://rubyforge.org/projects/rubygems Rubygems-developers@rubyforge.org http://rubyforge.org/mailman/listinfo/rubygems-developers