And found that Java for some reason consume 3,5GB memory??? Maybe is that why Elasticsearch stop every night? yes Elasticsearch can consume lots of memory if you configure it to do so or can tell it to use less memory. so set your ES_HEAP_SIZE value...