Elasticsearch memory problems

前端 未结 5 2034
我寻月下人不归
我寻月下人不归 2020-12-23 12:50

When I\'m trying too start the elasticsearch in my Ubuntu the startup script gives me the following error:

Java HotSpot(TM) Client VM warning: INFO: os::comm         


        
5条回答
  •  太阳男子
    2020-12-23 13:05

    You have configured a virtual machine with 1 GB of RAM, but elastic is trying to start with 2 GB of RAM (default for Elasticsearch version 5.X)

    Either give more memory to your VM, or change Elasticsearch JVM settings /etc/elasticsearch/jvm.options and lower the values of the following parameters: -Xms512m -Xmx512m

提交回复
热议问题