a year ago
I'm facing an issue where my script stops running unexpectedly midway when deployed on Railway. It works perfectly fine on my local machine.
Issue: My script starts executing correctly, but it stops before completion without an obvious error message.
Logs:
The last log entries show API requests executing normally.
No explicit crash or error is visible.
What I Tried:
Running it locally (works fine).
Checking logs for hidden errors.
Verifying dependencies in requirements.txt.
Reducing execution time and memory usage to test limits.
Adding extra logging to pinpoint where it stops.
Could this be due to execution time limits, memory constraints, or network issues? Any insights would be greatly appreciated!
ⓘ Deployment information is only viewable by project members and Railway employees.
2 Replies
a year ago
You're hitting resource limits. You can see this if you click on your service and select "Metrics" in the service pane. The project you linked is under your personal account, which has limits of 2 vCPU and 500 MB RAM. You're a member of a Pro team, which has much higher resource limits, so our recommendation is that you transfer your project to your Pro team, which will allow you to run the code without running into resource limits.
Please see the docs on Transferring Projects.
Status changed to Awaiting User Response Railway • about 1 year ago
a year ago
yes I see that
the prb was solved thanks 
Status changed to Awaiting Railway Response Railway • about 1 year ago
Status changed to Solved unicodeveloper • about 1 year ago