Change heap size from 512M to 1024M