Fix elasticsearch heap memory config