From d5ff6a7cd4d37fe3a98596717a5ed114b83d6b53 Mon Sep 17 00:00:00 2001 From: kimchy Date: Mon, 7 Jun 2010 18:26:01 +0300 Subject: [PATCH] add doc to the script --- bin/elasticsearch | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/elasticsearch b/bin/elasticsearch index 160a17cf31a..496b19332aa 100755 --- a/bin/elasticsearch +++ b/bin/elasticsearch @@ -13,6 +13,13 @@ # JAVA_OPTS -- Additional arguments to the JVM for heap size, etc # ES_JAVA_OPTS -- External Java Opts on top of the defaults set # +# +# Optionally, exact memory values can be set using the following values, note, +# they can still be set using the `ES_JAVA_OPTS`. +# +# ES_MIN_MEM -- The minimum number of memory to allocate, in megabytes. +# ES_MAX_MEM -- The maximum number of memory to allocate, in megabytes. +# # As a convenience, a fragment of shell is sourced in order to set one or # more of these variables. This so-called `include' can be placed in a # number of locations and will be searched for in order. The lowest