Announcing memprof: a ruby level memory profiler

Hi -

I’ve been working on a Ruby level memory profiler for Ruby 1.8.6 and
1.8.7 for a few weeks. This profiler is just a ruby gem (available on
gemcutter) and can be installed and used with NO PATCHES to the Ruby
VM. It provides functionality similar to bleakhouse.

The gem ONLY SUPPORTS x86_64 LINUX builds of MRI 1.8.6/1.8.7 and REE.

You can read about how to use the profiler on my blog:
http://timetobleed.com/memprof-a-ruby-level-memory-profiler/

If you are interested in learning how this works without patching the
ruby VM, have a look at my blog posts that explain the scary hacks
needed:
http://timetobleed.com/rewrite-your-ruby-vm-at-runtime-to-hot-patch-useful-features/
http://timetobleed.com/hot-patching-inlined-functions-with-x86_64-asm-metaprogramming/
http://timetobleed.com/string-together-global-offset-tables-to-build-a-ruby-memory-profiler/

Questions, comments, and patches welcome!

joe

The gem ONLY SUPPORTS x86_64 LINUX builds of MRI 1.8.6/1.8.7 and REE.

Is there more supported platforms planned? (and/or versions?)

On Mon, Jan 25, 2010 at 12:30 PM, Roger P. [email protected]
wrote:

The gem ONLY SUPPORTS x86_64 LINUX builds of MRI 1.8.6/1.8.7 and REE.

Is there more supported platforms planned? (and/or versions?)

yes, from highest priority to lowest:

1.) ruby 1.9 support
2.) i386/i686 linux support
3.) osx support

windows support is not planned, but patches are accepted.

joe