Skip to content

Commit

Permalink
Fix OOM when running Keycloak in DevMode
Browse files Browse the repository at this point in the history
Fixes #41813
  • Loading branch information
fedinskiy committed Jul 11, 2024
1 parent 8eb2489 commit 203b42a
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 203b42a

Please sign in to comment.