diff --git a/fhir-server/liberty-config/configDropins/defaults/jvm.options b/fhir-server/liberty-config/configDropins/defaults/jvm.options new file mode 100644 index 00000000000..26cc645718b --- /dev/null +++ b/fhir-server/liberty-config/configDropins/defaults/jvm.options @@ -0,0 +1,2 @@ +# Set a fixed, higher than default, initial heap size that could serve a moderate workload +-Xms768M \ No newline at end of file diff --git a/fhir-server/liberty-config/configDropins/disabled/jvm.options b/fhir-server/liberty-config/configDropins/disabled/jvm.options index 53cd8148142..305aee9cfaa 100644 --- a/fhir-server/liberty-config/configDropins/disabled/jvm.options +++ b/fhir-server/liberty-config/configDropins/disabled/jvm.options @@ -1,7 +1,8 @@ -# Reduced heap size for constrained environments +# Set a fixed max heap size +-Xmx3072M -# Initial heap size (same as max so no reallocations will occur) --Xms3072M +# Turn on verbose classloading +#-verbose:class -# Maximum heap size --Xmx3072M \ No newline at end of file +# Turn on verbose garbage collection +#-verbose:gc \ No newline at end of file diff --git a/fhir-server/liberty-config/jvm.options b/fhir-server/liberty-config/jvm.options index cf3385e30dd..fc2321b4ac1 100644 --- a/fhir-server/liberty-config/jvm.options +++ b/fhir-server/liberty-config/jvm.options @@ -14,13 +14,4 @@ -Dcom.ibm.jsse2.renegotiate=DISABLED # Prevents Apache Xerces from overactively using the service loader to find a class --Dorg.apache.xml.dtm.DTMManager=org.apache.xml.dtm.ref.DTMManagerDefault - -# Initial heap size (same as max so no reallocations will occur) --Xms4096M - -# Maximum heap size --Xmx4096M - -# Uncomment to turn on verbose classloading -#-verbose:class \ No newline at end of file +-Dorg.apache.xml.dtm.DTMManager=org.apache.xml.dtm.ref.DTMManagerDefault \ No newline at end of file