Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /app/vendor/doctrine/orm/src/Internal/Hydration/SimpleObjectHydrator.php on line 167

Warning: Cannot modify header information - headers already sent by (output started at /app/vendor/doctrine/orm/src/Internal/Hydration/SimpleObjectHydrator.php:167) in /app/vendor/symfony/http-foundation/Session/SessionUtils.php on line 52
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) (500 Internal Server Error)

Symfony Exception

OutOfMemoryError

HTTP 500 Internal Server Error

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

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#181973
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)"
    "file" => "/app/vendor/doctrine/orm/src/Internal/Hydration/SimpleObjectHydrator.php"
    "line" => 167
  ]
}
  1. $fieldName = $cacheKeyInfo['fieldName'];
  2. // Prevent overwrite in case of inherit classes using same property name (See AbstractHydrator)
  3. if (! isset($data[$fieldName]) || ! $valueIsNull) {
  4. $data[$fieldName] = $value;
  5. }
  6. }
  7. if (isset($this->hints[Query::HINT_REFRESH_ENTITY])) {
  8. $this->registerManaged($this->class, $this->hints[Query::HINT_REFRESH_ENTITY], $data);

Stack Trace

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

  at vendor/doctrine/orm/src/Internal/Hydration/SimpleObjectHydrator.php:167