I am newbie to Ruby. When i run my app using Rails server it consuming lots of memory. I am running my app Thin web server. When i run my app system hanged out every time. When gogled it , I found its a known issue of Ruby. How can i solve this??? Plzzzz help.
Thanks tpunt for quick response. Actually i am trying to run a website. It is developed in ruby on rails. I am using Fedora 20 and run that app on Thin server. When i run this app Ruby-mri is consuming memory in MBs, as i have checked in System Monitor. After run the first page memory usages is 1.6 GB and i have 2 GB RAM. I have searched on google n found it is because some GC Parameters named RUBY_HEAP_MIN_SLOTS,RUBY_FREE_MIN,RUBY_GC_MALLOC_LIMIT. How can i edit these parameter’s value or where to find these???
Whatever you said m trying. If anything new kindly share.
I have solved that issue. Different ruby versions create problem. Now i am facing another issue. Iam using PostgreSQL database, done all database entries through console. I am getting stuck on one statement “@user = login(params[:email],params[:password])” here @user has null value so that m getting Login failed message. I dont understand why @user have no values as database is connected with my application???