a year ago
I have deployed a Spring Boot project with MySQL. Although I'm not using it heavily right now, the memory usage spikes and keeps crashing the project repeatedly. I have to redeploy it manually each time, which works for a few minutes, but then it crashes again. Do you have any suggestions on what I should do?
2 Replies
a year ago
Hey there! We've found the following might help you get unblocked faster:
- 📚 Viewing Metrics
- 🧵 How to reduce memory usage for Java application?
- 🧵 Huge memory usage spike
- 🧵 RAM costs of MySQL and Java app compared to a React app.
If you find the answer from one of these, please let us know by solving the thread!
a year ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 11 months ago
a year ago
Spring Boot eats a lot of memory when booting up and your free plan is limited to 0.5GB which is not enough.
So consider upgrading to Hobby tier and you will have access to 8GB which is more than enough.
Status changed to Solved parth-1903 • 11 months ago