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