src/Viserio/Component/Profiler/DataCollector/Bridge/PDO/TraceablePDODecorater.php
public function getMemoryUsage(): int
    {
        return \array_reduce($this->executedStatements, static function ($v, $s) {
            return $v + $s->getMemoryUsage();
        });
    }
public function getMemoryUsage(): int
    {
        return \array_reduce($this->executedStatements, static function ($v, $s) {
            return $v + $s->getMemoryUsage();
        });
    }
Returns the peak memory usage while performing statements.

@return int