Solution for Fatal error: Allowed memory size of XXXXXXXX bytes exhausted.

WordPress Memory

Edit your wp-config.php file and enter something like:

You can read more about this here.

PHP Memory

If you have access to your PHP.ini file, change the lines in PHP.ini

Incase, if you don’t have access to PHP.ini try adding this to an .htaccess file:

If this still doesn’t work or if you’re not confident about making these changes, you would need to talk to your hosting company.