PHP script will exit and a fatal error will be thrown if it has exhausted all the allocated memory.
PHP Fatal error: Allowed memory size of xxxx bytes exhausted (tried to allocate yyyy) in yourscript.php
This is to protect the system in the case that a rogue
PHP script or application consume more memory that the system can handle.
You can fix the issue by allocating more memory to your
PHP scripts and there are a few ways to do this.
cPanel hosting, you can change the memory limit configuration from your
Comment anonymously. Login not required.