[php-src] Issue #8116: PHP 8.1 Failed to set memory limit to ... bytes (Current memory usage is ... bytes)
| From: | brainfoolong | Date: | Fri, 18 Feb 2022 11:25:54 +0000 |
| Subject: | [php-src] Issue #8116: PHP 8.1 Failed to set memory limit to ... bytes (Current memory usage is ... bytes) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239873@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8116
Comment Author: brainfoolong
Thanks to https://bugs.php.net/bug.php?id=81585
an the posted test script, i've created a testscript that can now be reproduced. The error is
similar, but not quite the same, i guess?
Just call it 2 times in your browser, the first time, it just runs fine, second time, it fails.
Output first call:
Limit initial: 256M
finished successfully
Output second call:
Limit initial: 256M
error - Failed to set memory limit to 536870912 bytes (Current memory usage is 578813952 bytes)
Hope this helps
[test.php.txt](https://github.com/php/php-src/files/8096680/test.php.txt)