3 months ago
Hello Railway Team,
I would like to provide some feedback regarding the resource configuration on the Free Tier.
Currently, I noticed that free tier users are unable to adjust the maximum memory limit for instances. The default limit is set to 1GB. However, this lack of control can lead to unnecessary resource usage and potentially higher monthly costs.
Many lightweight applications (such as small bots or simple APIs) do not require 1GB of RAM to run efficiently. I specifically need to limit my instance's memory to 512MB to stay within a lower usage bracket. Without the ability to set this limit manually, I am forced to "consume" resources I don't actually need, which wastes my free quota.
I suggest allowing free users to customize the memory limit (e.g., setting it to 512MB) so we can optimize our resource usage and control costs more effectively.
Thank you for considering this improvement.
0 Threads mention this feature
2 Replies
3 months ago
You only pay for the resources your application uses, not what the maximum is set to.
If your application needs 700mb on average and you limit it to 512mb, you will just OOM crash loop the application.
brody
You only pay for the resources your application uses, not what the maximum is set to. If your application needs 700mb on average and you limit it to 512mb, you will just OOM crash loop the application.
3 months ago
My point is about cost control strategy. Since my app is lightweight, any usage over 512MB is considered abnormal behavior (e.g., a memory leak).
I want to enforce a hard limit so that the container restarts automatically when memory spirals out of control. This prevents a scenario where a bug causes the memory usage to creep up to 1GB, doubling my potential costs. I'd rather have a few seconds of downtime during a restart than pay for memory caused by a leak.