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

Warning: Cannot modify header information - headers already sent by (output started at /app/vendor/doctrine/orm/src/Internal/Hydration/ObjectHydrator.php:477) 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 {#181820
  -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/ObjectHydrator.php"
    "line" => 477
  ]
}
  1. $this->resultPointers[$dqlAlias] = $reflFieldValue;
  2. }
  3. }
  4. } else {
  5. // PATH C: Its a root result element
  6. $this->rootAliases[$dqlAlias] = true; // Mark as root alias
  7. $entityKey = $this->resultSetMapping()->entityMappings[$dqlAlias] ?: 0;
  8. // if this row has a NULL value for the root result id then make it a null result.
  9. if (! isset($nonemptyComponents[$dqlAlias])) {
  10. if ($this->resultSetMapping()->isMixed) {

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/ObjectHydrator.php:477