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

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 28 17:55:21 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 koke):

 To reproduce/simulate:

 {{{
 <methodCall>
         <methodName>wp.getComments</methodName>
         <params>
                 <param>
                         <value>
                                 <i4>1</i4>
                         </value>
                 </param>
                 <param>
                         <value>
                                 <string>username</string>
                         </value>
                 </param>
                 <param>
                         <value>
                                 <string>password</string>
                         </value>
                 </param>
                 <param>
                         <value>
                                 <struct>
                                         <member>
                                                 <name>number</name>
                                                 <value>
                                                         <i4>100</i4>
                                                 </value>
                                         </member>
                                 </struct>
                         </value>
                 </param>
         </params>
 </methodCall>
 }}}

 Unless you have a lot of (big) comments, you'll have to tweak the memory
 limits:

 * In {{{wp-includes/default-constants.php}}} set WP_MEMORY_LIMIT to 8M
 * Set a low memory_limit in your php.ini

 Another call where we hit tis is a system.multicall of wp.getOptions,
 wp.getPostFormats, wp.getCategories, and metaWeblog.getRecentPosts.

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


More information about the wp-trac mailing list