[wp-trac] [WordPress Trac] #11780: Memory Leak in plugins_api

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 16 13:32:41 UTC 2010


#11780: Memory Leak in plugins_api
--------------------------+-------------------------------------------------
 Reporter:  hakre         |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:          
Component:  General       |      Version:  3.0     
 Severity:  normal        |   Resolution:          
 Keywords:  needs-patch   |  
--------------------------+-------------------------------------------------

Comment(by miqrogroove):

 Some empirical testing would satisfy a few points of curiosity about
 references that were raised in IRC.

 Hyp 1: Passing a large string variable into a user-defined function will
 cause peak memory consumption to double, depending on argument
 referencing.

 Hyp 2: String variables are implicitly referenced in functions that do not
 modify the variable, so argument referencing does nothing.

 Hyp 3: Argument referencing is detrimental to performance.

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


More information about the wp-trac mailing list