Changed the maximum memory limit of the php script to 1GB