When do you need large heap for Elasticsearch?

After I installed Elasticsearch and invoked the following: "your local path"\elasticsearch-1.4.0\bin>elasticsearch-service-x64.exe... I have got the following error: Invalid initial heap size: -Xms-Xmx=2G Failed to run service as console application... How should I solve it?

  • Answer:

    Respectively... how can I change ES_HEAP_SIZE in windows?

Alexander Szalonnás at Quora Visit the source

Was this solution helpful to you?

Other answers

Hi, You can solve this error by reducing the minimum and maximum heap sizes in the elasticsearch.bat file. It would generally work with the ES_MIN_MEM=512m and ES_MAX_MEM=1gb also. Beyond 1gb, I doubt the ES would run, if your RAM in 4gb.

Mansi Ganatra

Thoai Ngo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.