Projects

Ticket #566 (new defect)

Opened 2 years ago

MacRuby uses a ton of memory on a Shootout benchmark

Reported by: peter@… Owned by: lsansonetti@…
Priority: minor Milestone:
Component: MacRuby Keywords:
Cc:

Description

@lrz asked me to file this. I'm far from an expert at submitting tickets so sorry if this is vague, etc..

I'm trying to benchmark MacRuby on the Alioth Shootout programs (  http://shootout.alioth.debian.org/ ). The first is binary-trees.rb as I've posted at  http://gist.github.com/282386

Running binary-trees.rb with an argument of 20 (as is done in the Alioth shootout proper) results in MacRuby chewing up 3GB of memory in just the first minute, whereas 1.9.1 makes solid progress and doesn't go above about 300MB. This may or may not be a leak (it may just be an inefficiency in MR somewhere.. I didn't keep it running beyond the minute).

Attachments

binary-trees.rb Download (1.2 KB) - added by peter@… 2 years ago.
binary trees benchmark that causes the memory usage

Change History

Changed 2 years ago by peter@…

binary trees benchmark that causes the memory usage

Note: See TracTickets for help on using tickets.