[MacRuby] #1331: memory leak occurs when calculate binary-tree.
MacRuby
ruby-noreply at macosforge.org
Thu Jun 16 18:13:11 PDT 2011
#1331: memory leak occurs when calculate binary-tree.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
I will atach a test script.[[BR]]
when I calculate binary-tree, MacRuby latest needs huge memory. MacRuby
0.10 did not.
{{{
$ macruby0.10 -v bm_binary_trees.rb
MacRuby 0.10 (ruby 1.9.2) [universal-darwin10.0, x86_64]
19460 KB
$ macruby -v bm_binary_trees.rb
MacRuby 0.11 (ruby 1.9.2) [universal-darwin10.4, x86_64]
1812296 KB
}}}
MacRuby 0.10 = 19.4 MB[[BR]]
MacRuby 0.11 = 1.8 GB
I got a original script from https://github.com/acangiano/ruby-benchmark-
suite/blob/master/benchmarks/micro-benchmarks/bm_binary_trees.rb
--
Ticket URL: <http://www.macruby.org/trac/ticket/1331>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list