Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /app/vendor/doctrine/doctrine-bundle/src/Middleware/BacktraceDebugDataHolder.php on line 43

Warning: Cannot modify header information - headers already sent by (output started at /app/vendor/doctrine/doctrine-bundle/src/Middleware/BacktraceDebugDataHolder.php:43) 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 {#181654
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)"
    "file" => "/app/vendor/doctrine/doctrine-bundle/src/Middleware/BacktraceDebugDataHolder.php"
    "line" => 43
  ]
}
  1. if (! in_array($connectionName, $this->connWithBacktraces, true)) {
  2. return;
  3. }
  4. // array_slice to skip middleware calls in the trace
  5. $this->backtraces[$connectionName][] = array_slice(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS), 2);
  6. }
  7. /** @return array<string, array<string, mixed>[]> */
  8. public function getData(): array
  9. {

Stack Trace

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

  at vendor/doctrine/doctrine-bundle/src/Middleware/BacktraceDebugDataHolder.php:43