Limit max heap size to 31G

As per recomendations in here:
http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/heap-sizing.html#compressed_oops