heap-size.asciidoc 475 B

12345678910111213
  1. [[heap-size-settings]]
  2. [discrete]
  3. ==== Heap size settings
  4. By default, {es} automatically sets the JVM heap size based on a node's
  5. <<node-roles,roles>> and total memory.
  6. We recommend the default sizing for most production environments.
  7. NOTE: Automatic heap sizing requires the <<jvm-version,bundled JDK>> or, if using
  8. a custom JRE location, a Java 14 or later JRE.
  9. If needed, you can override the default sizing by manually
  10. <<set-jvm-heap-size,setting the JVM heap size>>.