Profile a delayed_job task in a Ruby on Rails app/Memory leak
One of my delayed_job tasks has a serious memory leak and I'm having a hard time solving it. Can anyone recommend a good tool for profile a delayed_job task in order to solve this memory leak?
R开发者_如何学Goegards,
RubemUse memprof.
Here's a tutorial about it: http://timetobleed.com/memprof-a-ruby-level-memory-profiler/
精彩评论