Cannot connect to Elasticsearch
From Kolmisoft Wiki
Jump to navigationJump to search
Make sure your server has at least 4GB of RAM, then restart elasticsearch service:
service elasticsearch restart
Alternative method:
Set following parameters in /etc/sysconfig/elasticsearch
ES_HEAP_SIZE=128m ... ES_DIRECT_SIZE=128m
and restart elasticsearch
service elasticsearch restart