Out of memory errors in XML-RPC
|Reported by:||koke||Owned by:|
Since WPiOS 3.0 and WordPress 3.4 we're getting a lot of "Out of Memory" reports on XML-RPC.
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"
- 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?
Change History (20)
comment:15 in reply to: ↑ 14 @maxcutler — 3 years ago
Note: See TracTickets for help on using tickets.