a year ago
Project id: 226d017d-497f-4e0a-88fc-b04f499967fb
Hi! I'm getting a container event container died while deploying a NestJS application.
The startup logs from my application are incomplete (screenshot attached). Reading other help threads, could it be possible that I ran out of memory? I updated my plan from trial to Hobby an hour ago. I redeployed the app several times, but the issue persists. Thanks for the help!
9 Replies
a year ago
have you tried switching back to the legacy runtime?
with the legacy runtime we get further, even listening to a port, but the container still stops after deployment.

a year ago
I wouldn't say you got further, the v2 runtime has a bug right now where some log lines aren't picked up and it looks like that particular log line wasn't picked up on the v2 runtime.
either way, this means it's not an issue with railway but an issue with your application
a year ago
it's trying to allocate more than 8gb of memory for some reason
a year ago
try setting a service variable NODE_OPTIONS=--max-old-space-size=4096
a year ago
no problem!
a year ago
please don't close threads though