From: Robert Dober Date: 2010-05-21T17:36:06+09:00 Subject: Re: OMG, why are there so many Strings in ObjectSpace! I would rather count like this jruby -X+O -ve 'p ObjectSpace.each_object(String).count' jruby 1.5.0.RC3 (ruby 1.8.7 patchlevel 249) (2010-05-05 6586) (OpenJDK Client VM 1.6.0_0) [i386-java] 519 ruby -ve 'p ObjectSpace.each_object(String).count' ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux] 164 ruby -ve 'p ObjectSpace.each_object(String).count' ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux] 2268 HTH R.