2020-11-03 05:44:01 +08:00
|
|
|
[[heap-size-settings]]
|
2020-10-19 22:02:22 +08:00
|
|
|
[discrete]
|
2021-04-29 09:30:32 +08:00
|
|
|
==== Heap size settings
|
2017-12-12 23:24:37 +08:00
|
|
|
|
2021-04-29 09:30:32 +08:00
|
|
|
By default, {es} automatically sets the JVM heap size based on a node's
|
|
|
|
<<node-roles,roles>> and total memory.
|
|
|
|
We recommend the default sizing for most production environments.
|
2017-12-12 23:24:37 +08:00
|
|
|
|
2020-12-19 03:14:56 +08:00
|
|
|
NOTE: Automatic heap sizing requires the <<jvm-version,bundled JDK>> or, if using
|
|
|
|
a custom JRE location, a Java 14 or later JRE.
|
2017-12-12 23:24:37 +08:00
|
|
|
|
2021-04-29 09:30:32 +08:00
|
|
|
If needed, you can override the default sizing by manually
|
|
|
|
<<set-jvm-heap-size,setting the JVM heap size>>.
|