keycloak / keycloak-benchmark

Keycloak Benchmark
https://www.keycloak.org/keycloak-benchmark/
Apache License 2.0
127 stars 70 forks source link

-XX:MinRAMPercentage in Keycloak JVM memory settings doesn't come into play until the pods have less than 200 MB memory #772

Open kami619 opened 4 months ago

kami619 commented 4 months ago

Describe the bug

-XX:MinRAMPercentage in Keycloak JVM memory settings doesn't come into play until the pods have less than 200 MB memory

Version

Keycloak 24

Expected behavior

We need to suggest a JVM option only if this will be impacting majority of the use cases for Keycloak deployments.

Actual behavior

-XX:MinRAMPercentage in Keycloak JVM memory settings doesn't come into play until the pods have less than 200 MB memory.

How to Reproduce?

No response

Anything else?

https://www.baeldung.com/java-jvm-parameters-rampercentage

mhajas commented 4 months ago

Do you suggest removing the option? Where we would then document how to set it for deployments with less memory?

Also, if you suggest removing that option we should move this issue to the main Keycloak repository.