Is there any way to change JVM arguments via command line interface?
I connected CLI using /opt/keycloak/bin/jboss-cli.sh -c controller=127.0.0.1:9990
but couldn't set the JVM arguments. I could see via ps -aef | grep keycloak
default heap size and max heap size is -Xms64m -Xmx512m
.
You can set in standalone.conf
or set environment variable JAVA_OPTS
before calling standalone.sh
. But be aware that it will overwrite all default settings.