Windows Live Writer 500 Error & WordPress (Fixed)

by bunchc on April 25, 2011

I can’t say this will fix it for everyone, or will even be the cause of your 500 error. Earlier today an epic battle played out between Windows Live Writer and the WordPress install this site sits on. More specifically, I was greeted with a “500 Server Error”.

In my server logs I found the following:

[25-Apr-2011 17:43:30] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /wp-includes/class-wp-xmlrpc-server.php on line 2769

Out of memory? What? After some searching I came across this article by Asif Rahman which listed 4 possible solutions, of which #1 fixed it for me:

Add the following line to the wp-config.php file:

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

With luck and judging by the number of posts asking for help when I Google’d around this should help some others out.

  • http://vNinja.net Christian Mohn

    The error message you received pretty much just means that PHP tried to allocate more memory that it’s config file allows you do use/abuse. The addition to wp-config.php file you suggest might not work on all hosts, as they might disallow PHP applications from overriding the PHP.INI files that defines your PHP settings.

  • http://professionalvmware.com professionalvmware

    Indeed and well noted. Of the options, this is the one that worked for me. The fellow’s page where I found the fix notes that you may need to call the hosting provider if you’re not able change the options. (Think it was in the comments)

  • Cary

    worked for me 

  • Tony

    Thanks a lot, worked for me

Previous post:

Next post: