Spring Boot App Deploy Out Of Memory

thephenom00
HOBBY

3 months ago

Hello fellow programmers,

I deployed successfully my Spring Boot app with no problem. However, after few non crucial commits (added just another api) problem with Out Of Memory occurred.

Even though app is bulit successfully, in Deploy Logs the Spring starts in a loop 4 times and crash. When I see the metrics, memory never reaches 500MB (I have only the hobby plan) and CPU also never reaches more than 1 CPU.

I tried to redeploy the latest functioning commit and it is successfully deployed 4 out of 5 times and once it throw Out Of Memory error again.

I hope you will help me and thank u so much for the services u provide for beginner programmers like me.

Alhamdulillah

Solved

1 Replies

3 months ago

Hello,

We do not collect metrics with a high enough frequency to show you very quick spikes, spikes that could OOM your service.

If your service is running out of memory you would want to upgrade to a paid plan.

Best,
Brody


Status changed to Awaiting User Response railway[bot] 3 months ago


Status changed to Solved brody 3 months ago