How to decide appropriate RAM?


I am trying to understand more about having used the “IndieStack” Remix project template. I recently had to scale my app from the 256MB default as my deploys were causing OOM issues. I just guessed and scaled to 1GB.

When looking at the logs, it looks like my app only uses less than 256MB most of the time and even when deploying doesn’t quite go over 512MB.

So my questions are:

  1. Should I scale down to 512MB?
  2. Isn’t it a waste to have this much memory only for a deploy that happens a handful of times / day at most?
  3. Is there a solution that allows you to only have the RAM needed for the running of your app? And something else serverless-like handles the heavy memory of deploying?


A nooby FED trying to learn more about Infra.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.