Announcing memprof: a ruby level memory profiler

J

Joe Damato

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
 
J

Joe Damato

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top