Goto ElasticSearch bin directory.
Eg:\ElasticSearch\elasticsearch-2.0.0\bin
Right click elasticsearch.in.bat ->edit
change
if "%ES_MAX_MEM%" == "" (
set ES_MAX_MEM=1g
)
to
if "%ES_MAX_MEM%" == "" (
set ES_MAX_MEM=512m
)
save & close.
Goto ElasticSearch bin directory.
Eg:\ElasticSearch\elasticsearch-2.0.0\bin
Right click elasticsearch.in.bat ->edit
change
if "%ES_MAX_MEM%" == "" (
set ES_MAX_MEM=1g
)
to
if "%ES_MAX_MEM%" == "" (
set ES_MAX_MEM=512m
)
save & close.
Hi,
I faced same issue.
To resolve the issue:
In environment variable add new variable
Hope it helps.
Thanks,
Gaurav
#-Xms2g
#-Xmx2g
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.