增加内存大小elasticsearch

时间:2019-02-20 15:15:59

标签: elasticsearch elastic-stack

想知道,我在哪里/如何运行:

ES_JAVA_OPTS="-Xms16G -Xmx16G" ./bin/elasticsearch

请增加内存?我试图将其放入启动批处理中

1 个答案:

答案 0 :(得分:1)

实现此目标的最佳方法是修改config/jvm.options文件的第一部分

# Xms represents the initial size of total heap space
# Xmx represents the maximum size of total heap space

-Xms16g
-Xmx16g
相关问题