Open anadinema opened 2 weeks ago
@anadinema
OutOfMemoryError
?
OutOfMemoryError
@dhoard
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: example-sm
namespace: amq-namespace
spec:
selector:
matchLabels:
app: amq
endpoints:
- port: 'http'
path: '/metrics'
OutOfMemoryError
comes.
We have a setup with RedHat ActiveMQ (version 5.11.0) running and jmx_exporter_javaagent (version 1.0.1) attached to it.
Following is the config for the same:
The application and metrics runs fine, but somehow after few hours, it starts throwing the following error. And with this error the memory usage keeps on increasing, due to which it ends up consuming all of the heap memory causing the process to terminate due to Out of memory error, causing the AMQ container to restart.
Terminating due to java.lang.OutOfMemoryError: Java heap space
Application in deployed on ARO (Azure RedHat OpenShift)
Any reasons what might be causing this?