Set memory limit default to 512M