[wp-trac] [WordPress Trac] #32075: Only set WP_MAX_MEMORY_LIMIT by default when its greater than memory_limit
WordPress Trac
noreply at wordpress.org
Fri Jul 8 18:16:09 UTC 2016
#32075: Only set WP_MAX_MEMORY_LIMIT by default when its greater than memory_limit
---------------------------------------------+----------------------
Reporter: danielbachhuber | Owner: ocean90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.6
Component: Bootstrap/Load | Version: 3.2
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+----------------------
Comment (by ocean90):
In [changeset:"38016"]:
{{{
#!CommitTicketReference repository="" revision="38016"
Unit tests: Don't change the `memory_limit` setting during tests.
40M isn't enough and can lead to an "out of memory" error. Change
`test_wp_raise_memory_limit()` to test that `wp_raise_memory_limit()`
doesn't *lower* the memory limit.
See [38015].
See #32075.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32075#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list