It seems that Elasticsearch stops working this morning. When i launch : sudo service elasticsearch start, it says : Starting ElasticSearch Server Done
But when i check the status, it gives me : elasticsearch is not running
I tried to launch it by the command : /usr/share/elasticsearch/bin/elasticsearch start it gives me :
Error occurred during initialization of VM Could not reserve enough space for object heap
I tried to set 512m for Heap size in : /usr/share/elasticsearch/bin/service/elasticsearch.conf
set.default.ES_HOME= set.default.ES_HEAP_SIZE=512
But it didn't work. How could i fix that?