-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
The default MaxRAMPercentage
is set to 80.0
, but it doesn't take MaxMetaspaceSize
or ReservedCodeCacheSize
into consideration.
Wouldn't it be more effective to dynamically calculate the MaxRAMPercentage
, factoring in GC_MAX_METASPACE_SIZE
and possibly ReservedCodeCacheSize
?
I manually patched the java-default-options
to support dynamic calculation of MaxRAMPercentage
, and we haven't experienced any OOMKilled
incidents since implementing the change.
Segergren and JohanNordlinder
Metadata
Metadata
Assignees
Labels
No labels