Rubinius' GC...oddity

4 views
Skip to first unread message

rogerdpack

unread,
Feb 1, 2010, 2:47:44 PM2/1/10
to rubinius-dev
I was following the thread at

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/27498

And I thought to try Rubinius' GC on it, thinking that it would
perform well on the following code:

(1..7).each{|n| puts n; a = ['a']*(10**n); a.inspect;}

However, on my virtualbox Ubuntu it seems to eat up ~ 500MB of RSS and
start swapping (MRI finishes in 135s with about 80MB RSS, Jruby
finishes in 8s with about 215MB RSS).

Is this an edge case or something more?
Much thanks.
-r

Reply all
Reply to author
Forward
0 new messages