Ruby on Rails Mongodb Mongoid virtual memory usage -


i use ruby on rails application mongodb , mongoid process data. during run time application executes millions of queries , keep terminal window rails server running open watch processes. after program finish running consumption of memory using terminal consuming 13gb. if start program run again - consumption of memory keep grow , @ end 26gb. tried same in production without using terminal , free virtual memory dropped 0. coming normal after closing terminal in development or rebooting linux instance in production. guessing memory used mongodb. question - how make application or mongodb reset memory automatically each time after program finish run without closing terminal or rebooting linux instance? or how set mongodb not use memory?


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -