My Ruby on Rails application runs on Heroku with a speaker with 512 megabytes of RAM. It uses almost all of the RAM right from the launch of the application, and it gets worse. I do not load large amounts of data from the database at startup, so I do not understand why it uses so much memory.
How do I profile my application in production so I can understand where the memory usage comes from? I understand that I have the opportunity to add another dynamo or increase dynamic memory, but I want to understand what happens first.
ruby-on-rails heroku
Orbromios
source share