I have a quite small Rails 3.1.1 application that rack up memory at lightning speed. 8-10 clicks in the application and I’m up to almost 1gb of RAM used.
We checked the log for slow running MYSQL queries, nothing there. We also checked Apache log, nothing there.
The application is running with Passenger 3.0
Can this issue be bound to some gem that is used? This application started as a Rails 3.0.1 application, and we updated the rails version. There are still [deprecated?] references in the gemfile. Here is the gemfile :
gem "rails", "~> 3.1.1"
gem "mysql2", "~> 0.3.6"
gem 'omniauth', '0.2.6'
gem 'json'
group :assets do
gem "sass-rails", "~> 3.1.4"
gem "coffee-rails", "~> 3.1.1"
gem 'uglifier'
end
gem 'jquery-rails'
gem 'execjs'
gem 'therubyracer'
gem 'capistrano'
Thanks
It is all about eliminating possibilities. Some directions: