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