[wp-trac] [WordPress Trac] #10698: Reduce memory usage for XML-RPC requests

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 28 22:10:37 UTC 2009


#10698: Reduce memory usage for XML-RPC requests
--------------------------+-------------------------------------------------
 Reporter:  josephscott   |       Owner:  josephscott
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  2.9        
Component:  XML-RPC       |     Version:             
 Severity:  normal        |    Keywords:  has-patch  
--------------------------+-------------------------------------------------
 Demitrious Kelly did some excellent work in reducing the memory usage for
 processing large XML-RPC requests on {{{WordPress.com}}}.  I'm including a
 patch of his work on wp-includes/class-IXR.php that does the following:


  - Pass references instead of copies of the full XML-RPC request
  - Limit the XML declaration stripping to the first 100 characters of the
 data
  - Parse the XML in chunks so that the whole thing doesn't get slurped
 into memory

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


More information about the wp-trac mailing list