6 months ago
Hi there, I'm trying to figure out how/why my memory usage spiked on the 10th of July. Are there any additional insights you can provide in addition to what is on my dashboard?
Pinned Solution
6 months ago
Railway will allocate memory based on what the limit you have set is and charge you based on what your application usage is.
If you don't expect your application to consume more than a certain amount of memory then you should put a limit at that level to protect yourself from any bug/memory leak issues. Moving the memory slider all the way to the right isn't always the best idea.
Railway cannot give you the reason or inspect your application as to why it consumed more memory, this is your responsibility which looks like you have figured it out.
I would suggest putting a limit so whenever it reaches that level it would get OOM killed and your service will restart.
3 Replies
6 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
6 months ago
My RAM usage spiked on a particular day of the month and I'm not sure why. I think it was due to some n8n workflows I ran, but I would love to see if I could get some more detailed insights on that from how Railway was allocating memory.
maycoth
My RAM usage spiked on a particular day of the month and I'm not sure why. I think it was due to some n8n workflows I ran, but I would love to see if I could get some more detailed insights on that from how Railway was allocating memory.
6 months ago
Railway will allocate memory based on what the limit you have set is and charge you based on what your application usage is.
If you don't expect your application to consume more than a certain amount of memory then you should put a limit at that level to protect yourself from any bug/memory leak issues. Moving the memory slider all the way to the right isn't always the best idea.
Railway cannot give you the reason or inspect your application as to why it consumed more memory, this is your responsibility which looks like you have figured it out.
I would suggest putting a limit so whenever it reaches that level it would get OOM killed and your service will restart.
Status changed to Solved brody • 6 months ago