a year ago
I signed up for the $5/mo hobby plan and want to understand the pricing better. Particularly, the charge for memory usage. If a user left my app running for a whole month using 10GB, I would be charged 10GB*$10/GB? Right now I see my app using 2GB with no one using it and all windows closed. c985d4f7-4f52-465b-ba1f-f38a94e8c353. https://docs.railway.com/reference/pricing/plans
9 Replies
a year ago
what kind of app are you running?
a year ago
yes but like what is the purpose of it, in what way can a user use 10gb memory?
It is pdf parsing + data dashboard. So will call docling/transformer library at peak but usually shouldn't be too intensive.
I'm not sure how much Streamlit uses behind the scenes, but the app just sitting there is using 2GB from what I can tell from Railway dashboard.

a year ago
interesting
a year ago
on railway, your memory usage is just determined by how much memory your app allocates to itself, even if the memory it allocates for itself is idle memory. Meaning theoretically yes, if a user is using something that requires your app to dedicated 10GB of memory to that user and your app maintains that memory for a month, you will be charged for that 10GB a month
a year ago
The 2GB you're seeing is either idle memory usage or just additional memory your app has allocated for itself
Thanks. Is there any way to put the app to "sleep" until a user comes to it? Would that be through a Railway feature or on my end via managing app code?
a year ago
Something like this ? https://docs.railway.com/reference/app-sleeping