Trevin Chow

Microsoft Group Program Manager and Seattle Photographer

Fix for WordPress “Allowed memory size exhausted” fatal error

View Comments

While trying to upgrade a few WordPress plugins, I got this error message:image

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

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!

Related Posts

  1. Strange characters after WordPress upgrade
  2. Experimenting with new WordPress template
  3. Windows Live Writer and 403 Forbidden error
  4. Moved from Windows Live Spaces to WordPress
  5. The beauty of tags…

Written by Trevin

May 9th, 2009 at 4:10 pm

Posted in Technology

Tagged with , , , ,

View Comments to 'Fix for WordPress “Allowed memory size exhausted” fatal error'

Subscribe to comments with RSS or TrackBack to 'Fix for WordPress “Allowed memory size exhausted” fatal error'.

  1. Thank you sooooo much for this fix.

    James Bao

    27 Jun 09 at 11:55 pm

  2. Thanks for posting this. It had me stumped on my upgrade to WP 2.8.2

    William Haun

    31 Jul 09 at 6:36 am

  3. Well done Trevin. Bluehost support had me messing with php.ini via the world’s most convoluted email, but this did the trick immediately.

    Mike Torres

    30 Nov 09 at 5:29 pm

  4. Thank you for posting this. You saved me a few hours of coding.

Leave a Reply

blog comments powered by Disqus
Get Adobe Flash playerPlugin by wpburn.com wordpress themes