[php-src] Issue #8116: PHP 8.1 Failed to set memory limit to ... bytes (Current memory usage is ... bytes)

From: Date: Fri, 18 Feb 2022 09:56:38 +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-239869@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8116 Comment Author: brainfoolong @cmb69 Looks somewhat similar yes but isn't there a other problem with this? Because the initial limit is 128M and the error shows a usage of 800M, the script should have terminated a way before we even can try to set a new memory limit that is 512M? For me this sounds to different levels of memory checks or at least a missing check when the actual limit if 128M reaches. ini_set seems to then force to do a proper memory_check which causes the error. TLDR: When having 128M initially, trying to set it to 512M and the errors says it already has 800M at this point -> can this be a correct error message?

« previous php.bugs (#239869) next »