[wp-trac] [WordPress Trac] #54117: Changing memory limit descriptions

WordPress Trac noreply at wordpress.org
Mon Sep 13 11:22:55 UTC 2021


#54117: Changing memory limit descriptions
-------------------------+-----------------------------
 Reporter:  fyremoon     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Site Health  |    Version:  5.8.1
 Severity:  minor        |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Hi,

 A couple of things that stand out, WP_MAX_MEMORY_LIMIT is for the admin
 side of the site and WP_MEMORY_LIMIT is for the visitor side. If these
 were updated in the next version to more friendly names like
 WP_VISITOR_MEMORY_LIMIT and WP_ADMIN_MEMORY_LIMIT, it would be easier to
 set up these limits.

 How is the memory limit decided for WordPress? I've overridden the
 defaults since my server has 1GB max memory for PHP, so I've set them to
 512 and 1024 respectively but is there a reason why the memory limits are
 set to arbitrary figures and not a percentage of the limit?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54117>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list