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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -