Changed memory allocation to 512 MB.