[wp-trac] [WordPress Trac] #56390: Updating WP_MEMORY_LIMIT
WordPress Trac
noreply at wordpress.org
Thu Aug 18 06:24:28 UTC 2022
#56390: Updating WP_MEMORY_LIMIT
---------------------------+------------------------------
Reporter: JavierCasares | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses: performance
---------------------------+------------------------------
Comment (by dd32):
Replying to [comment:7 dd32]:
> > If the hoster has some kind of limitation, misconfiguration, an
incorrect value or does not allow changing it, the value used is the
lesser, of 40 MB, which usually produces memory errors, when it should use
the PHP default value [...]
>
> If I'm understanding this correctly, the real concern here is not that
the value of 40/64M is too low for WordPress, but rather, that under
certain systems WordPress may accidentally lower the memory limit from
something much higher to 40M, correct?
To add more clarity to that - I guess my point is, that it doesn't ''need
to'' match the PHP default values, rather, it should inherit whatever the
system has allocated but increase it to 40/64M if the value is absolutely
set lower. It's not the default memory limit, it's the absolute minimum
memory limit WordPress wants.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56390#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list