In attempt to increase JVM heap size for Elasticsearch on a Windows box, I defined the following environment variable:
ES_HEAP_SIZE=6g
(The machine has 12G R
To avoid service re-install you can directly change values in registry. They are a bit tricky to find:
Of course, you have to restart the service after changing these settings.