travis: set java heap size to 512MB.