Allocating RAM to Elasticsearch nodes

If you use the stock init scripts they'll load the /etc/default (or /etc/sysconfig) file with the same name, i.e. /etc/init.d/elasticsearch-foo loads /etc/default/elasticsearch-foo so just set ES_HEAP_SIZE in the file corresponding to each instance.