Archive for July 2nd, 2009

WordPress Memory Exhausted

Posted by Mr. Leslie Wong On July - 2 - 2009

One of the problems I am experiencing with WordPress today is an out of memory php error with WordPress 2.8 when I use Arne Brachhold’s Google XML Sitemaps plugin to rebuilt my sitemap:

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 41 bytes) in /…/wp-settings.php on line 288

If I disable all my active plugins except Google XML Sitemaps, I don’t get the error when rebuilding the sitemap.

I am using Godaddy shared hosting, have added the line “memory_limit = 64M” in my php5.ini file and added the line ini_set(‘memory_limit’,’64M’); to my wp-config.php and I still get the error. I did not have this problem with WordPress 2.7.1.

I found this post by Jeff Starr, WordPress Error Fix(?): Increase PHP Memory for cache.php. Maybe his solution had to do with an Apache configuration – the post was written on February 17, 2008, so it wasn’t a WordPress 2.8 issue. Anyway I did the three things he mentioned, and things seem to be OK at the moment. I’m not going to pursue the problem anymore.

Sponsored Links

About Me

I like Alfa Romeos, art, barbecue, baseball, bicycling, cars, cigars, computers, cooking, eating, electronics, fly fishing, football, Formula 1, friends, golf, horology, jazz, movies, museums, photography, r/c cars, r/c helicopters, reading, restaurants, Scotch whiskey, softball, slot car racing, tennis, the internets and travel

Twitter

    Photos

    Eddy Merckx Professional Bicycle Frame, Molteni Team colorsAlfa Romeo Alfetta GTDe Rosa Professional BicycleCampagnolo Chorus Rear Derailleur 11 SpeedTribune Tower, Oakland, CaliforniaGolden Dragon - 2014 Chinese New Year Parade, San FranciscoEddy Merckx Professional Bicycle Frame, Molteni Team colorsDragon, San Francisco 2013 Chinese New Year ParadePhil Wood Spokes, Campagnolo 8 Speed HubRaspberry Pi WebcamAltoids tin, MintBoost 3.0MintBoost 3.0