How to Increase the WP Memory Limit
When encountering an exhausted error in WordPress, you will very likely want to increase your WordPress Memory Limit.
There are three main ways to accomplish this, if you are more advanced with WordPress and feel comfortable editing PHP.
If you are not comfortable making these kinds of changes, no worries!
All you need to do in that case is reach out to your host and ask them to increase the WordPress Memory Limit. They should be able to take it from there.
For those who are comfortable with editing your FTP files, you can increase your WP Memory Limit three different ways.
For the first method you will want to edit your wp-config.php file before the line that says, “Happy Blogging” add:
Keep in mind that WordPress memory can be different from your server’s. Regardless, you need to set the server memory settings. For more information you can checkout WordPress’s documentation on Editing wp-config.php.
For the second method you will edit your PHP.ini file if you have access to this file.
You will change the line in PHP.ini.
For example, if your line shows 64M you can up it to 256M
memory_limit = 256M ; The maximum amount of memory a script may consume (64MB)
The third method is to edit your .htaccess file.
In your .htaccess file you will want to locate this line and add 256M:
php_value memory_limit 256M