From 593fffc7a1a5af70364d39ad3fa3fda80e951c05 Mon Sep 17 00:00:00 2001 From: Justin Honold Date: Thu, 10 Jul 2014 16:34:35 -0500 Subject: [PATCH] Docs: Changing ES_MAX_MEM default from '1gb' to '1g' If you set ES_HEAP_SIZE to '1gb' as suggested, Java will yield an "Invalid initial heap size". Closes #6824 --- docs/reference/setup/configuration.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/setup/configuration.asciidoc b/docs/reference/setup/configuration.asciidoc index a53f879aa4a..2efe97449d5 100644 --- a/docs/reference/setup/configuration.asciidoc +++ b/docs/reference/setup/configuration.asciidoc @@ -18,7 +18,7 @@ The `ES_HEAP_SIZE` environment variable allows to set the heap memory that will be allocated to elasticsearch java process. It will allocate the same value to both min and max values, though those can be set explicitly (not recommended) by setting `ES_MIN_MEM` (defaults to -`256m`), and `ES_MAX_MEM` (defaults to `1gb`). +`256m`), and `ES_MAX_MEM` (defaults to `1g`). It is recommended to set the min and max memory to the same value, and enable <>.