[wp-trac] [WordPress Trac] #52143: memory_limit not always adhered
    WordPress Trac 
    noreply at wordpress.org
       
    Mon Dec 21 16:36:31 UTC 2020
    
    
  
#52143: memory_limit not always adhered
---------------------------+-----------------------------
 Reporter:  danielbareman  |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  5.6
 Severity:  normal         |   Keywords:
  Focuses:  performance    |
---------------------------+-----------------------------
 From time to time I notice that WordPress, or it's plugin don't adhere the
 "memory_limit" that's set by it's php.ini or through .htaccess
 A simple and quick fix, is adding the following line:
 {{{
 define('WP_MEMORY_LIMIT', ini_get('memory_limit'));
 }}}
 I'd suggest adding this line to the default contents of wp-config.php to
 resolve the issue in the cases it occurs.
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52143>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list