Spring app redeployed every 20 seconds
jpastolfi
FREEOP

a year 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 🙂

3 Replies

jpastolfi
FREEOP

a year ago

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

Attachments


a year 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 • about 1 year ago


Status changed to Solved brody • about 1 year ago


jpastolfi
FREEOP

a year 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 • about 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...