How do I increase the memory assigned to PHP?
I increased the max_execution_time to unlimited and I used output buffering for keep my script in progress. Change the memory limit to 1024M. I got it from This URL.