[wp-trac] [WordPress Unit Tests] #6: WordPress changes PHP's memory_limit but doesn't change it back

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 3 17:39:28 UTC 2012


#6: WordPress changes PHP's memory_limit but doesn't change it back
----------------------------+-----------------------------------------
 Reporter:  jmstacey        |       Owner:  westi
     Type:  defect          |      Status:  new
 Priority:  critical        |   Milestone:  Legacy - Improve Framework
Component:  Test Framework  |  Resolution:
 Keywords:  has-patch       |
----------------------------+-----------------------------------------

Comment (by nacin):

 WordPress sometimes changes the memory limit to 256M, but this is now a
 WP_MAX_MEMORY_LIMIT constant. We should just set both WP_MEMORY_LIMIT and
 MAX to -1 and we'll be good to go. (Also requires [WP21165] for maximum
 effectiveness.)

-- 
Ticket URL: <http://unit-tests.trac.wordpress.org/ticket/6#comment:4>
WordPress Unit Tests <http://unit-tests.trac.wordpress.org>
My example project


More information about the wp-trac mailing list