Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2352688 bytes) in /home/mixform.pl/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 256
Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2352688 bytes) (500 Internal Server Error)

Symfony Exception

OutOfMemoryError

HTTP 500 Internal Server Error

Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2352688 bytes)

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

  1.         if (is_file($file) && is_readable($file)) {
  2.             // highlight_file could throw warnings
  3.             // see https://bugs.php.net/25725
  4.             $code = @highlight_file($filetrue);
  5.             // remove main code/span tags
  6.             $code preg_replace('#^<code.*?>\s*<span.*?>(.*)</span>\s*</code>#s''\\1'$code);
  7.             // split multiline spans
  8.             $code preg_replace_callback('#<span ([^>]++)>((?:[^<]*+<br \/>)++[^<]*+)</span>#', function ($m) {
  9.                 return "<span $m[1]>".str_replace('<br />'"</span><br /><span $m[1]>"$m[2]).'</span>';
  10.             }, $code);
  11.             $content explode('<br />'$code);

Stack Trace

OutOfMemoryError
Symfony\Component\ErrorHandler\Error\OutOfMemoryError:
Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2352688 bytes)

  at /home/mixform.pl/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:256