Re: [PHP-DEV] New max_memory_limit INI setting

2025-04-17 Thread Tim Düsterhus
Hi Am 2025-04-15 10:13, schrieb Jordi Boggiano: I'd say absolutely yes it should respect the requested memory limit as much as possible. Especially when setting memory_limit to -1 you'd definitely want this to mean "use the max allowed memory limit" and perhaps even skip the warning in that

Re: [PHP-DEV] New max_memory_limit INI setting

2025-04-15 Thread Jordi Boggiano
On 14.04.2025 14:41, Ilija Tovilo wrote: One open question is whether exceeding the max_memory_limit should also set memory_limit to max_memory_limit in addition to warning, giving the subsequent operation a higher chance not to straight out OOM error. Let me know if you have a preference in that