R
Railway3mo ago
IgnisDa

Application consuming a lot of memory on railway but not as much when self hosted

No description
No description
Solution:
then it would just be down to how the different platforms report memory
Jump to solution
17 Replies
Percy
Percy3mo ago
Project ID: N/A
IgnisDa
IgnisDa3mo ago
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?
Jack
Jack3mo ago
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.
IgnisDa
IgnisDa3mo ago
nope i did not. how do i add a cap to railway?
Brody
Brody3mo ago
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
IgnisDa
IgnisDa3mo ago
No description
IgnisDa
IgnisDa3mo ago
what information is needed?
Brody
Brody3mo ago
anything you can think about
IgnisDa
IgnisDa3mo ago
it is a rust+nodejs application. the idle cpu consumption is ~0.2% in both self hosted and railway.
Brody
Brody3mo ago
dockerfile?
IgnisDa
IgnisDa3mo ago
GitHub
ryot/Dockerfile at main · IgnisDa/ryot
Roll your own tracker! Contribute to IgnisDa/ryot development by creating an account on GitHub.
Brody
Brody3mo ago
are you on the v2 runtime?
IgnisDa
IgnisDa3mo ago
assuming youre talking about this, then yes
No description
Solution
Brody
Brody3mo ago
then it would just be down to how the different platforms report memory
IgnisDa
IgnisDa3mo ago
hmmm alright. is there any docs on what method railway uses to report memory?
Brody
Brody3mo ago
there is not
IgnisDa
IgnisDa3mo ago
okay. thanks for the help. can be marked as resolved.
Want results from more Discord servers?
Add your server