Keycloak high CPU usage

Hi All,

We have a keycloak 4 pods running in kubernetes environment. We have integrated LDAP also where 99% of users are LDAP based users currently we are experiencing a high CPU usage and high memory utilization thus frequent restart of PODS
Is there any idea is this because of LDAP integration? Can we optimize this LDAP configuration in order to give better performance?
KeyCloak version is 6.0.1
Database :Oracle 19g

Do not load the offline sessions when you startup the container!
Maybe this will help
-spi-user-sessions-infinispan-preload-offline-sessions-from-database=false