开发者

How to get memory usage in Rails app.?

For example, I have Update action in Product Controller. I want to measure how much memory consumption when the Update ac开发者_如何学Gotion being invoked.

thanks.


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜