Memory dump in openshift

Hello everyone,

We have a Keycloak SPI project in Java. After we setup the project in Openshift, we are running performance tests with high number of users. In openshift, we have only one pod for the project. However, after 6-8 hours the performance of the pod is decreasing (firstly we got 230 TPS but in time, the number of TPS is decreasing) and the pod is starting to down. The pod restarting in 6-8 hours periodically. I want to take a head dump or memory dump of this pod from openshift to understand what is going on and the reason of the restart.