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

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 23 19:43:33 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                |  Resolution:
 Keywords:  mobile dev-feedback  |
---------------------------------+------------------------------

Comment (by nacin):

 WordPress now defaults to 40 MB.

 In xmlrpc.php, we could do @ini_set( 'memory_limit', apply_filters(
 'admin_memory_limit', WP_MAX_MEMORY_LIMIT ) );

 Note that in the admin, we normally only do that for administrators
 (unless the user is doing something like editing an image). I am not
 ''too'' concerned about the potential for a denial-of-service via memory
 exhaustion, but I suppose it is possible. Think a multi-call situation for
 an under-privileged user. We could wait until login() to issue such a
 memory_limit call.

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


More information about the wp-trac mailing list