MemoryManager::dumpMemory() should never throw an exception that matters to calling code

This commit is contained in:
Dylan K. Taylor 2020-05-12 22:37:23 +01:00
parent 3a6cdba281
commit 152da604be

View File

@ -302,8 +302,6 @@ class MemoryManager{
* Static memory dumper accessible from any thread.
*
* @param mixed $startingObject
*
* @throws \ReflectionException
*/
public static function dumpMemory($startingObject, string $outputFolder, int $maxNesting, int $maxStringSize, \Logger $logger) : void{
$hardLimit = ini_get('memory_limit');