Increase memory_limit for PHP from 512M to 1G.