Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce the default min heap size and remove the default max heap size #2840

Merged
merged 1 commit into from
Oct 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions fhir-server/liberty-config/configDropins/defaults/jvm.options
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Set a fixed, higher than default, initial heap size that could serve a moderate workload
-Xms768M
prb112 marked this conversation as resolved.
Show resolved Hide resolved
11 changes: 6 additions & 5 deletions fhir-server/liberty-config/configDropins/disabled/jvm.options
Original file line number Diff line number Diff line change
@@ -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
# Turn on verbose garbage collection
#-verbose:gc
lmsurpre marked this conversation as resolved.
Show resolved Hide resolved
11 changes: 1 addition & 10 deletions fhir-server/liberty-config/jvm.options
Original file line number Diff line number Diff line change
Expand Up @@ -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
-Dorg.apache.xml.dtm.DTMManager=org.apache.xml.dtm.ref.DTMManagerDefault