Search code examples
herokuheroku-toolbelt

Heroku Memory management. What is the maximum amount of memory per worker


It might be a trivial question, but I feel like I need to ask this question:

When Heroku says that I have 512 MB of RAM, and 10 process types, does this mean I have 512MB of RAM per each process, or the 512MB is divided by the number of processes I use, e.g 512MB/10 = 51.2MB per process?

If it's the latter, doesn't it make the unlimited number of processes in Heroku useless? I don't understand this


Solution

  • Each dyno is an independent container running on a different instance. You can see them as a different server.
    That means each running process will get it's own memory and CPU. The 512MB are therefore not divided by the number of processes.