How to Fix “PHP Fatal error: Allowed Memory Size of xxx Bytes exhausted…” on WordPress
PHP has a default memory limit of 8MB which is set in php.ini file. If your .php script exceeds more than the limit it will throw “PHP Fatal Error Allowed Memory Size Exhausted”. To settle this problem, you can add one line code in the beginning of your script: or, add in the following code…