Reputation: 221
I am currently looking into memory leakage issue for an existing huge application (ruby 1.8.7, Rails 3.0.19).
For finding out the main problem areas, I used oink gem which is a Log parser to identify actions which significantly increase VM heap size. Using this I was able to optimize the code accordingly.
But is there a way we can garbage collect the freed ruby objects between requests so that the memory is cleared up as and when required.
Thanks in advance!
Upvotes: 1
Views: 737
Reputation: 1314
Please go through below documentation link
http://ruby-doc.org/core-1.8.7/GC.html
Also you can check similar question asked by me
Detecting memory leakage in Ruby
Hopefully this will help.
Upvotes: 2