Heapdump creation in openshift (OCP 3.11)

Viewed 15

I have setup the environment in my OC config maps for generating the heap dump. However, whenever there is a OOM error, it terminated the pod and restarted the container. Please assist me, how can i get the heap dump now.

sample reference of my configuration - -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dump123.hprof

1 Answers
Related