From 57d40a4691bb74e123b0711edfb49e16acbeb546 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Tue, 20 Sep 2016 18:51:56 +0200 Subject: [PATCH] Fix JVM heap size docs for 5.0 Closes #20587 --- docs/reference/setup/sysconfig/heap_size.asciidoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/reference/setup/sysconfig/heap_size.asciidoc b/docs/reference/setup/sysconfig/heap_size.asciidoc index 00c4553b97f..f54ca7813a2 100644 --- a/docs/reference/setup/sysconfig/heap_size.asciidoc +++ b/docs/reference/setup/sysconfig/heap_size.asciidoc @@ -1,8 +1,8 @@ [[heap-size]] === Set JVM heap size via jvm.options -In development mode, Elasticsearch tells the JVM to use a heap with a minimum -size of 256 MB and a maximum size of 1 GB. When moving to production, it is +By default, Elasticsearch tells the JVM to use a heap with a minimum +and maximum size of 2 GB. When moving to production, it is important to configure heap size to ensure that Elasticsearch has enough heap available. @@ -48,8 +48,8 @@ Here are examples of how to set the heap size via the jvm.options file: [source,txt] ------------------ -Xms2g <1> -Xmx2g <2> +-Xms2g <1> +-Xmx2g <2> ------------------ <1> Set the minimum heap size to 2g. <2> Set the maximum heap size to 2g.