heap-size.asciidoc 640 B

123456789101112131415
  1. [[heap-size-settings]]
  2. [discrete]
  3. === Heap size settings
  4. By default, {es} automatically sizes JVM heap based on a node's
  5. <<node-roles,roles>> and total memory. We recommend this default sizing for most
  6. production environments. If needed, you can override default sizing by manually
  7. <<setting-jvm-heap-size,setting JVM heap size>>.
  8. NOTE: Automatic heap sizing requires the <<jvm-version,bundled JDK>> or, if using
  9. a custom JRE location, a Java 14 or later JRE.
  10. NOTE: When running in a container, such as <<docker,Docker>>, total memory is
  11. defined as the amount of memory visible to the container, not the total system
  12. memory on the host.