Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6827837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:18:44+00:00 2026-05-26T22:18:44+00:00

I have a quite small Rails 3.1.1 application that rack up memory at lightning

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T22:18:44+00:00Added an answer on May 26, 2026 at 10:18 pm

    It is all about eliminating possibilities. Some directions:

    • Does the application run in development mode? Is there a difference in memory usage in development / production mode?
    • Try staying on one page, in one controller. Monitor the memory continuously. Is it going up? Is it only one controller or in all controllers? If it is in one controller only, you have a smaller codebase to check.
    • Memory profile your application with tools like Bleakhouse, Memorylogic, Scout or New Relic. Check the memory hotspots to find the memory hog.
    • Eliminate dependencies one by one, to see if a bug in another gem is causing the problem.
    • Try a different server, like Mongrel, WEBrick or Unicorn. If the behaviour is different, it could be Passenger.
    • Try a different Ruby version to see if the problem persists.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've have quite small asp.net MVC 2 application to maintain/extend. Currently it uses hand
So I have a Rails application that upon user submission should generate some kind
I have a small ruby application I wrote that's an anagram searcher. It's for
My problem is that I have quite a small area (div or span), in
I have a small problem with a SWT.Browser widget who throws a quite puzzling
I have quite a few RewriteRules in my .htaccess that looks like this RewriteRule
I have quite a few cells that link to other worksheets/books, etc with standard
I have quite a lot of PHP view files, which I used to include
I have quite big document in html format that generated from Microsoft Word. It
I'm using Ruby on Rails to develop a web application. I have a wiki

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.