travis: set java heap size to 1024MB.