I tried it again. Just added "ES_JAVA_OPTS=-Xms1g -Xmx1g" in .bash_profile, it works. The issue was the property of .bash_file, it only works for the current console/terminal, but not for other consoles/terminals unless you restart Linux.
I tried it again. Just added "ES_JAVA_OPTS=-Xms1g -Xmx1g" in .bash_profile, it works. The issue was the property of .bash_file, it only works for the current console/terminal, but not for other consoles/terminals unless you restart Linux.
© 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.