Fatal error: Out of memory (allocated 2097152) (tried to allocate 8192 bytes) in /var/www/webexciter/vendor/symfony/config/Resource/GlobResource.php on line 154
Error: Out of memory (allocated 2097152) (tried to allocate 8192 bytes) (500 Internal Server Error)

Symfony Exception

OutOfMemoryError

HTTP 500 Internal Server Error

Error: Out of memory (allocated 2097152) (tried to allocate 8192 bytes)

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

  1.                         new \RecursiveDirectoryIterator($path\FilesystemIterator::SKIP_DOTS \FilesystemIterator::FOLLOW_SYMLINKS),
  2.                         function (\SplFileInfo $file$path) {
  3.                             return !isset($this->excludedPrefixes[str_replace('\\''/'$path)]) && '.' !== $file->getBasename()[0];
  4.                         }
  5.                     ),
  6.                     \RecursiveIteratorIterator::LEAVES_ONLY
  7.                 ));
  8.                 uksort($files'strnatcmp');
  9.                 foreach ($files as $path => $info) {
  10.                     if ($info->isFile()) {

Stack Trace

OutOfMemoryError
Symfony\Component\ErrorHandler\Error\OutOfMemoryError:
Error: Out of memory (allocated 2097152) (tried to allocate 8192 bytes)

  at /var/www/webexciter/vendor/symfony/config/Resource/GlobResource.php:154