From fb893a993f06d470d23ac52e592fbfd7ccaceaed Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Wed, 1 Jun 2016 16:31:16 -0400 Subject: [PATCH] Add note regarding Windows service heap size This commit adds a note regarding the difference in configuration for the Windows service heap size from any other installation of Elasticsearch. Relates #18606 --- docs/reference/setup/install/windows.asciidoc | 6 ++++++ docs/reference/setup/sysconfig/heap_size.asciidoc | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/docs/reference/setup/install/windows.asciidoc b/docs/reference/setup/install/windows.asciidoc index edf91e08890..c18fc0669d3 100644 --- a/docs/reference/setup/install/windows.asciidoc +++ b/docs/reference/setup/install/windows.asciidoc @@ -173,6 +173,12 @@ The Elasticsearch service can be configured prior to installation by setting the NOTE: At its core, `service.bat` relies on http://commons.apache.org/proper/commons-daemon/[Apache Commons Daemon] project to install the service. Environment variables set prior to the service installation are copied and will be used during the service lifecycle. This means any changes made to them after the installation will not be picked up unless the service is reinstalled. +NOTE: On Windows, the <> can be configured as for +any other Elasticsearch installation when running Elasticsearch from the +command line, or when installing Elasticsearch as a service for the +first time. To adjust the heap size for an already installed service, +use the service manager: `bin\service.bat manager`. + Using the Manager GUI:: It is also possible to configure the service after it's been installed using the manager GUI (`elasticsearch-service-mgr.exe`), which offers insight into the installed service, including its status, startup type, JVM, start and stop settings amongst other things. Simply invoking `service.bat manager` from the command-line will open up the manager window: diff --git a/docs/reference/setup/sysconfig/heap_size.asciidoc b/docs/reference/setup/sysconfig/heap_size.asciidoc index 0e3a3b2a44c..00c4553b97f 100644 --- a/docs/reference/setup/sysconfig/heap_size.asciidoc +++ b/docs/reference/setup/sysconfig/heap_size.asciidoc @@ -65,3 +65,10 @@ ES_JAVA_OPTS="-Xms4000m -Xmx4000m" ./bin/elasticsearch <2> ------------------ <1> Set the minimum and maximum heap size to 2 GB. <2> Set the minimum and maximum heap size to 4000 MB. + +NOTE: Configuring the heap for the <> +is different than the above. The values initiallly populated for the +Windows service can be configured as above but are different after the +service has been installed. Consult the +<> for additional +details.