Monitoring memory usage

Every runnable has a JAVA-Xmx configuration parameter. It has to be monitored, if the memory usage is rising over time.

Peaks are not a problem, if they do not break the limit. If the system is suffering over a longer time, for example, the memory usage is higher than 70% for more than one hour, check for rarely occurring use cases. They might explain the high memory consumption. This can be:

If the defined limit for memory consumption is exceeded, there are two possible measures: