3

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

thanks.

andrisetiawan
  • 31
  • 1
  • 2

2 Answers2

2

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: ruby/ruby on rails memory leak detection

Community
  • 1
  • 1
stephenmurdoch
  • 34,024
  • 29
  • 114
  • 189
0

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
  • 3,078
  • 1
  • 22
  • 25