Fix JVM heap size docs for 5.0

Closes #20587
This commit is contained in:
Clinton Gormley 2016-09-20 18:51:56 +02:00
parent 92417c6ae3
commit 57d40a4691
1 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
[[heap-size]] [[heap-size]]
=== Set JVM heap size via jvm.options === Set JVM heap size via jvm.options
In development mode, Elasticsearch tells the JVM to use a heap with a minimum By default, 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 and maximum size of 2 GB. When moving to production, it is
important to configure heap size to ensure that Elasticsearch has enough important to configure heap size to ensure that Elasticsearch has enough
heap available. heap available.
@ -48,8 +48,8 @@ Here are examples of how to set the heap size via the jvm.options file:
[source,txt] [source,txt]
------------------ ------------------
Xms2g <1> -Xms2g <1>
Xmx2g <2> -Xmx2g <2>
------------------ ------------------
<1> Set the minimum heap size to 2g. <1> Set the minimum heap size to 2g.
<2> Set the maximum heap size to 2g. <2> Set the maximum heap size to 2g.