[wp-trac] [WordPress Trac] #21098: Out of memory errors in XML-RPC

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 28 13:48:54 UTC 2012


#21098: Out of memory errors in XML-RPC
--------------------------+---------------------------------
 Reporter:  koke          |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  XML-RPC       |    Version:  3.4
 Severity:  major         |   Keywords:  mobile dev-feedback
--------------------------+---------------------------------
 Since WPiOS 3.0 and WordPress 3.4 we're getting a lot of "Out of Memory"
 reports on XML-RPC.

 See http://ios.forums.wordpress.org/topic/couldnt-sync-posts-after-update-
 to-300

 XML-RPC clients have no idea of the memory available, and even if they did
 it'd be hard to translate that to "how many items can I request"

 Some ideas:

 * Can we try raising the memory limit on xmlrpc.php, or at least for
 system.multicall?
 * Setting limits on the number of items returned if we can predict that
 they're going to need too much memory. Currently asking for the latest 100
 comments can trigger an out of memory error in some hosts.
 * Fail more gracefully: return an XML-RPC error instead of a HTTP 500
 Internal Server Error
 * Any hints on debugging where memory is going and if there are any leaks?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21098>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list