Fatal error: Allowed memory size of 33554432 bytes exhausted

0

Another WordPress upgrade issue.  This time the exact error message is as follows:

Downloading update from http://wordpress.org/wordpress-2.8.3.zip.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2357261 bytes) in /home/xxx/public_html/wp-includes/http.php on line 1324

There are a couple ways to fix this issue, with the easiest is to edit wp-settings.php at line 13 and increase the value from 32M to 64M:

define(‘WP_MEMORY_LIMIT’, ’64M’);

As per this WordPress support topic you can also increase your host php limit which will help fix the issue in the future.

3 Comments
  1. Reply
    Alex September 6, 2009 at 9:39 am

    Stupid question, but where do I find wp-settings.php ?

    thanks in advance!

    • Reply
      Aaron September 6, 2009 at 1:32 pm

      It will be a file in your home root (where your wordpress install resides)

  2. Reply
    Allii Allee March 25, 2013 at 5:40 am

    not working for me i increased size at 64M and 128M but same error
    Fatal error: Allowed memory size of 67108864 bytes exhausted **** on line 572

    Leave a reply

    Webmix Australia