Repository navigation
Keycloak java process heapsize consuming ~29Gi of Mem(VIRT) #42944
Unanswered
Dhiraj-Jain
asked this question in
Q&A
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
VIRT = 29.323g → JVM reserved ~29.3 GB of virtual address space (potential heap size).
"top" command shows
Keycloak no longer honors -Xms/-Xmx given in java process. Why is it reserving such high VIRT?
All reactions
Replies: 1 comment
Uh oh!
There was an error while loading. Please reload this page.
@Dhiraj-Jain Please look at this section about memory settings for Keycloak: https://www.keycloak.org/server/containers#_specifying_different_memory_settings
If you're running KC in a container, it uses
XX:MaxRAMPercentage=70.If you want to use your own values for the heap settings, set the env var
JAVA_OPTS_KC_HEAPwhere you can use ms/mx.All reactions