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:
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