2 years ago
I have a deployment that starts with a normal memory usage, but throughout the day, the memory usage gradually increases. The memory only decreases when I redeploy the app, but it rises again with continued use. On the other hand, when running the app locally, the memory metrics decrease regularly. I'm using VisualVM for java. Because of this, I want to know: Does memory usage in Railway decrease by itself at any point, or how does it work?
10 Replies
2 years ago
There is a slim chance that this is an issue with the legacy runtime, can you try switching to the V2 runtime in your service settings and report back after a few hours
2 years ago
from within the service settings
2 years ago
sounds good!
I've just checked, and the metrics increased a bit but it didn't decrease. Metrics just stayed at the same value of memory usage
2 years ago
then that is simply what your app is using is all
2 years ago
no problem!