views:

115

answers:

2

For example, I have Update action in Product Controller. I want to measure how much memory consumption when the Update action being invoked.

thanks.

+1  A: 

Hi there - New Relic's RPM will do what you need - http://www.bestechvideos.com/2009/03/21/railslab-scaling-rails-episode-4-new-relic-rpm

also take a look at some of the answers here: http://stackoverflow.com/questions/161315/ruby-ruby-on-rails-memory-leak-detection

stephenmurdoch
A: 

Ruby Memory Validator monitors memory allocation for Ruby applications.

If you want to modify your Ruby runtime to add a memory tracking API to it, take a look at this.

Stephen Kellett