23 June 2009

Allowed Memory Size Fatal Error in WordPress

If you are on WordPress, you might have experienced the same error while upgrading plugins and other actions from the backend:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate...)


This particularly happened to me while automatically upgrading Google Sitemap Plugin.

To solve this, this trick worked for me.

Edit your wp-config.php to include the following line:

define('WP_MEMORY_LIMIT', '64M');

I just hope this will work for you too.

No comments:

Post a Comment