Excessive RAM consumption
wguia03TRIAL
a year ago
Hi to everyone. I just deployed a hello world project in Spring using a postgres db. However, the RAM usage cost is not normal:
3 Replies
a year ago
Java apps do use a lot of memory, you are welcome to tweak the JVM settings.
Maybe a service variable like this would work? -
JAVA_TOOL_OPTIONS=-Xms128m -Xmx256m
Though it's untested.
wguia03TRIAL
a year ago
Java apps do use a lot of memory, you are welcome to tweak the JVM settings.
The cost is 188.92 minutely GB. I'll try to do that.
Attachments
a year ago
As mentioned by the text in the bottom left of that screenshot, it is an accumulative value.
By looking at the graph, the entire project is using ~250 MB and that is more than good for Postgres and a Java app.