Memory for Elasticsearch node

2 master nodes are bad, see https://www.elastic.co/guide/en/elasticsearch/guide/2.x/important-configuration-changes.html#_minimum_master_nodes.

As for the rest, you would need to check how many GB that is.