Repository navigation
possible to set a container memory limit to 512MB? #37184
Unanswered
f1-outsourcing
asked this question in
Q&A
Replies: 2 comments 2 replies
|
"JAVA_OPTS_KC_HEAP": "-XX:MaxHeapFreeRatio=30 -XX:MaxRAMPercentage=65" with 512MB limit also generates oom directly after the login |
1 reply
|
Did you figure out how to run it with 512MB? |
1 reply
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.
I am currently testing a bit with keycloak. I was launching the container with 512MB, however after the login it was oom killed. So currently I am running with 1024MB and added these options to the environment (not even sure if these are used, or do these need to be put in JAVA_OPTS_KC_HEAP)
"JAVA_OPTS_ADD": "-XX:MaxRAM=800m -XX:+UseSerialGC"
I read a bit about this quarkus about how efficient it should be, so I thought I should be able to run this easily with 512MB memory limit. Test environment has only 15 - 100 ldap users.
https://www.keycloak.org/server/containers
All reactions