Give to elasticsearch hale the memory of the system, and at least 1.5Gb

Conflicts:
	run-elasticsearch.sh
Use oracle-java7
Set the maximum memory to 4Gb