Skip to content

Commit

Permalink
Fix OOM when running Keycloak in DevMode
Browse files Browse the repository at this point in the history
  • Loading branch information
fedinskiy committed Jul 12, 2024
1 parent 0109749 commit fa692d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public class DevServicesConfig {
/**
* The `JAVA_OPTS` passed to the keycloak JVM
*/
@ConfigItem
@ConfigItem(defaultValue = "-XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90")
public Optional<String> javaOpts;

/**
Expand Down

0 comments on commit fa692d2

Please sign in to comment.