Application consuming a lot of memory on railway but not as much when self hosted
17 Replies
Project ID:
N/A
n/A
left is self hosted, right is railway. same time range
This is also very weird because my self hosted instance has a lot more data than the railway one
Could this be an CPU architecture thing?
Did you limit the amount it could use when self hosting it? Railway will allow the application to use as much resources as it needs/wants. Best method may be to add a cap for your service’s CPU use if you’re worried about it.
nope i did not.
how do i add a cap to railway?
you can't
please tell us more information about the application
also, can you send a better self hosted graph, it appears to be cut off
what information is needed?
anything you can think about
it is a rust+nodejs application. the idle cpu consumption is ~0.2% in both self hosted and railway.
dockerfile?
GitHub
ryot/Dockerfile at main · IgnisDa/ryot
Roll your own tracker! Contribute to IgnisDa/ryot development by creating an account on GitHub.
are you on the v2 runtime?
assuming youre talking about this, then yes
Solution
then it would just be down to how the different platforms report memory
hmmm alright. is there any docs on what method railway uses to report memory?
there is not
okay. thanks for the help. can be marked as resolved.