Fix for Wordpress “Allowed memory size exhausted” fatal error
|
While trying to upgrade a few Wordpress plugins, I got this error message:
|
After struggling with trying to fix this, I found a really easy solution – increase the Wordpress memory allocation size from 32 MB to 64 MB. To do this, edit your wp-settings.php and change line 13 from:
define('WP_MEMORY_LIMIT', '32M');
to
define('WP_MEMORY_LIMIT', '64M');
Simple, easy and delicious. No more memory issues for any plugin upgrades!
Another way is to edit php.ini and define the memory_limit there:
memory_limit = 48M
Categories: Wordpress
Loading...