How to garbage collect ruby objects between requests in ruby 1.8.7 -


i looking memory leakage issue existing huge application (ruby 1.8.7, rails 3.0.19). finding out main problem areas, used oink gem log parser identify actions increase vm heap size. using able optimize code accordingly.

but there way can garbage collect freed ruby objects between requests memory cleared , when required.

thanks in advance!

please go through below documentation link

http://ruby-doc.org/core-1.8.7/gc.html

also can check similar question asked me

detecting memory leakage in ruby

hopefully help.


Comments

Popular posts from this blog

c# - Where does the .ToList() go in LINQ query result -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -