Recommend
If you like my work with RVM, please recommend me *with a comment as to why you recommend me* on
Working With Rails – Thank You!
IRC
I am 'wayneeseguin' in #rvm on irc.freenode.net
If I do not respond right away, leave a message and I'll respond or leave you a memo when I am around.
Sponsors
$ rvm help # Documentation Index

MemProf

MemProf should *just work* with MRI/REE 1.8.X Rubies (only those for now).

$ rvm 1.8.7@projecta
$ gem install memprof

Next in the application be sure to require memprof/signal:

require `gem which memprof/signal`.strip

Be sure the require happens *before* anything else in your applications code.

Now Profile your application from the command line. $ memprof --pid [pid] --name [name] --key [api_key]

Where





Sadism at it's finest...

If you are named Joe D. or Aman G. and are insane enough to actually play around in the Ruby VM itself...

If you'd like to play around in Ruby's guts using C or Assembler... First remove an existing MRI install:

$ rvm remove 1.8.7

Next install the ruby with debug symbols support.

$ export optflags="-O0 -ggdb3"; rvm install 1.8.7

By installing your rubies this way you can extract the maximum amount of *useful* information.

Good luck you sadistically awesome person you...

RVM Documentation Index