Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /app/vendor/twig/twig/src/Profiler/Profile.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /app/vendor/twig/twig/src/Profiler/Profile.php:152) in /app/vendor/symfony/http-foundation/Session/SessionUtils.php on line 52

Warning: Cannot modify header information - headers already sent by (output started at /app/vendor/twig/twig/src/Profiler/Profile.php:152) in /app/vendor/symfony/http-foundation/Session/SessionUtils.php on line 52

Warning: Cannot modify header information - headers already sent by (output started at /app/vendor/twig/twig/src/Profiler/Profile.php:152) in /app/vendor/symfony/http-foundation/Session/SessionUtils.php on line 54
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 {#182122
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)"
    "file" => "/app/vendor/twig/twig/src/Profiler/Profile.php"
    "line" => 152
  ]
}
  1. * Stops the profiling.
  2. */
  3. public function leave(): void
  4. {
  5. $this->ends = [
  6. 'wt' => microtime(true),
  7. 'mu' => memory_get_usage(),
  8. 'pmu' => memory_get_peak_usage(),
  9. ];
  10. }

Stack Trace

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

  at vendor/twig/twig/src/Profiler/Profile.php:152