Fatal error: Allowed memory size of 33554432 bytes exhausted

By Aaron on August 5, 2009
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 […]

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.

Article written by Aaron

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

thanks in advance!

Leave a Reply

Your email address will not be published. Required fields are marked *