As I updated one of the sites I take care of, the owner called me and told me that he has problems connecting via WordPress for iOS. Every time he tries to fetch the posts overview he gets an error that the App can not synchronize with the blog. It strikes that to load the pages or comments works but not the posts. So I started to analyze this and after a while I found out that this has nothing to do with synchronizing or data format. It is just a memory leak in PHP causing this error. The provider hast set the PHP memory limit to 64MB and this is not enough for XMLRPC with WordPress 3.5 but for calls via the web.
Well, so far, so good but how can you raise your memory limit?
If you provider allows it you can temporarily raise the memory limit using the following two changes.
Add a line to your .htaccess file in the WordPress root directory:
php_value memory_limit 128M
This line raises the PHP memory limit.
And add one line to wp-config.php:
This line informs WordPress about the new memory limit.
Of course you can change 128 to anything you would like to try and what you need. Though both values should be the same.
The owner is happy again, he can use WordPress for iOS with his updated blog.🙂