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
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
You can go to https://thoaingo07.wordpress.com/2015/04/03/elasticsearch-installation-in-windows-server/ to see how to config ES heap size
Thoai Ngo
Related Q & A:
- Can I do a Master Boot Record fix with a Knoppix 6.1 CD? And How?Best solution by Super User
- How do I upgrade from Internet Explorer 4.0?Best solution by pcsupport.about.com
- How does one get a 4.0 GPA?Best solution by Yahoo! Answers
- How can I maintain a 4.0 high school GPA?Best solution by wikihow.com
- How to install amarok 1.4 on ubuntu?Best solution by Quora
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.