WP_MEMORY_LIMIT option allows you to specify the maximum amount of memory that can be consumed by PHP. This setting may be necessary in the event you receive a message such as “Allowed memory size of xxxxxx bytes exhausted”.
Increase the WP Memory Limit with
define( 'WP_MEMORY_LIMIT', '128M'
You must insert the line just BEFORE
/* That's all, stop editing! Happy blogging. */ in the wp-config.php file.
Using Templ Optimizer
Another method to change the WordPress memory limit is to install our Templ Optimizer plugin on your website and change the memory limit from within our plugin.