If you are experiencing Memory Exhausted errors on your WordPress installation, it’s usually due to a plugin, theme or other script exceeding the default allocated memory size limit.

The solution is to increase your PHP Memory limit. Users can adjust the memory limit by making a change to the WordPress wp-config.php file.
Read this complete guide “How to Fix WordPress Memory Exhausted Error”