Skip to content

Commit e679307

Browse files
authored
Update jvm-settings.md
1 parent 6bb3875 commit e679307

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/reference/elasticsearch/jvm-settings.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ If you’re using the RPM or Debian packages, you can specify `ES_JAVA_OPTS` in
8181

8282
## Set the JVM heap size [set-jvm-heap-size]
8383

84-
By default, {{es}} automatically sets the JVM heap size based on a node’s [roles](/reference/elasticsearch/configuration-reference/node-settings.md#node-roles) and total memory. Using the default sizing is recommended for most production environments. The default heap sizing uses the following formulas:
84+
By default, {{es}} automatically sets the JVM heap size based on a node’s [roles](/reference/elasticsearch/configuration-reference/node-settings.md#node-roles) and total memory. Using the default sizing is recommended for most production environments. The default heap sizing uses the following formulas, with a maximum heap limit of 31GB:
8585

8686
* Master-only node
87-
* 60% of total system memory, up to a maximum of 31 GB.
87+
* 60% of total system memory
8888
* Machine Learning-only node
89-
* 40% of the first 16 gigabytes plus 10% of memory above that when total system memory is more than 16 gigabytes, up to a maximum of 31 GB.
89+
* 40% of the first 16GB plus 10% of memory above that when total system memory is more than 16GB
9090
* Data-only node
91-
* 40% of total system memory when less than 1 GB, with a minimum of 128 MB.
92-
* 50% of total system memory when 1 GB or more, with a maximum of 31 GB.
91+
* 40% of total system memory when less than 1GB, with a minimum of 128MB
92+
* 50% of total system memory when 1GB or more
9393

9494
To override the default heap size, set the minimum and maximum heap size settings, `Xms` and `Xmx`. The minimum and maximum values must be the same.
9595

0 commit comments

Comments
 (0)