Spring app redeployed every 20 seconds
jpastolfi
FREEOP

10 months ago

Hi,

I've successfully deployed a Spring application with a PostgreSQL database. The build phase is completed as normal, however, after the deployment process is completed, it restarts every 20 seconds. After 5 or 6 "redeploys", the application crashes with no apparent reason. This doesn't happen locally. Any ideia why this might be happening and possible fixes?

Thank you in advance slightly_smiling_face emoji

3 Replies

jpastolfi
FREEOP

10 months ago

Here's an example of a redeploy. Completed at 10:07:12 and restarted 20 seconds later

Attachments


10 months ago

Hello,

Your application ran out of memory -


You are limited to 500MB of memory on the Free plan, if you need more you will need to upgrade to a paid plan.

Best,
Brody

Attachments


Status changed to Awaiting User Response Railway 10 months ago


Status changed to Solved brody 10 months ago


jpastolfi
FREEOP

10 months ago

The OOM error is being caused by the constant redeploys, so that is not the root cause of the thread itself


Status changed to Awaiting Railway Response Railway 10 months ago


Loading...