App Sleeping
Hi, I have enabled app sleeping for my java spring boot app and mysql database. I can see in the Observability tab that The application has shut down completely. But the RAM usage is around 1.98GB for spring application. Is the RAM usage for sleeping apps this high?
Solution:Jump to solution
yep that's correct, metrics aren't collected when sleeping so these graphs are frozen in place during sleep, it is very deceptive so I understand the confusion
7 Replies
Project ID:
8b68cb67-fa6c-40d0-baf7-df1fc5d71574
8b68cb67-fa6c-40d0-baf7-df1fc5d71574
if you look at the timestamps of the RAM usage chart
do you see a time thats close to now or the sleep time? (as latest one)
yes
its the same at my side, from what i know Railway stops collecting metrics when sleeping
Solution
yep that's correct, metrics aren't collected when sleeping so these graphs are frozen in place during sleep, it is very deceptive so I understand the confusion