Do not request more than 512m to avoid problems with 32 bit java