Upgrading to WordPress 2.9 Memory Error Fix
WordPress Logo by koka_sexton via Flickr
So I noticed yesterday that a newer version of WordPress was available. I clicked on the upgrade link and proceeded as usual until I was presented with the following error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2515174 bytes) in /var/www/usr/htdocs/wordpress/wp-includes/http.php on line 1327
This appeared very odd to me at first… 33,554,432 bytes allowed, but when it attempted to allocate only 2,515,174 bytes it caused a fatal error? Well as strange as that looks, there’s an easy fix…
(note, I assume you already backed up your DB and existing wordpress installation — proceed at your own risk)
To Fix*: (assuming you want to use the auto-upgrade feature still

