ruby/ruby on rails memory leak detection

Posted by Josh Moore on Stack Overflow See other posts from Stack Overflow or by Josh Moore
Published on 2008-10-02T08:15:27Z Indexed on 2010/04/06 23:13 UTC
Read the original article Hit count: 501

I wrote a small web app using ruby on rails, its main purpose is to upload, store, and display results from xml(files can be up to several MB) files. After running for about 2 months I noticed that the mongrel process was using about 4GB of memory. I did some research on debugging ruby memory leaks and could not find much. So I have two questions.

  • Are there any good tools that can be used to find memory leaks in Ruby/rails?
  • What type of coding patterns cause memory leaks in ruby?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about ruby-on-rails