Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#1614 -error: array:4 [ "type" => 1 "message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 32224160 bytes)" "file" => "/var/www/clients/client1/web1/web/plugins/system/sef/src/Extension/Sef.php" "line" => 250 ] }
$attributes = ['href=', 'src=', 'poster='];
foreach ($attributes as $attribute) {
if (str_contains($buffer, $attribute)) {
$regex = '#\s' . $attribute . '"(?!/|' . $protocols . '|\#|\')([^"]*)"#m';
$buffer = preg_replace($regex, ' ' . $attribute . '"' . $base . '$1"', $buffer);
$this->checkBuffer($buffer);
}
}
if (str_contains($buffer, 'srcset=')) {
OutOfMemoryError
|
---|
Symfony\Component\ErrorHandler\Error\OutOfMemoryError: Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32224160 bytes) at /var/www/clients/client1/web1/web/plugins/system/sef/src/Extension/Sef.php:250 |