'Elasticsearch master only node system requirement

I am trying to set up a 3 node elastic cluster with 2 data nodes and 1 tiebreaker node as described here: https://www.elastic.co/guide/en/elasticsearch/reference/current/high-availability-cluster-small-clusters.html#high-availability-cluster-design-two-nodes-plus

I have set up a VM with the below configuration:

RAM: 1GB; JVM Heap: 300MB;

The bootstrap.memory_lock: true flag is set.

The elastic process is getting killed, am guessing it is running out of memory? I checked out elastic cloud and, the minimum configuration of the master node is a 1GB VM.

What is the recommended configuration for this case?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source