Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32224160 bytes) in /var/www/clients/client1/web1/web/plugins/system/sef/src/Extension/Sef.php on line 250
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32224160 bytes) (500 Whoops, looks like something went wrong.)

OutOfMemoryError

HTTP 500 Whoops, looks like something went wrong.

Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32224160 bytes)

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
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
  ]
}
  1. $attributes = ['href=', 'src=', 'poster='];
  2. foreach ($attributes as $attribute) {
  3. if (str_contains($buffer, $attribute)) {
  4. $regex = '#\s' . $attribute . '"(?!/|' . $protocols . '|\#|\')([^"]*)"#m';
  5. $buffer = preg_replace($regex, ' ' . $attribute . '"' . $base . '$1"', $buffer);
  6. $this->checkBuffer($buffer);
  7. }
  8. }
  9. if (str_contains($buffer, 'srcset=')) {

Stack Trace

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