Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 30241232 bytes) in /home/cookejco/public_html/stjohns5/libraries/vendor/laminas/laminas-diactoros/src/Stream.php on line 289
Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 30241232 bytes) (500 Whoops, looks like something went wrong.)

OutOfMemoryError

HTTP 500 Whoops, looks like something went wrong.

Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 30241232 bytes)

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#211151
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 268435456 bytes exhausted (tried to allocate 30241232 bytes)"
    "file" => "/home/cookejco/public_html/stjohns5/libraries/vendor/laminas/laminas-diactoros/src/Stream.php"
    "line" => 289
  ]
}
  1. {
  2. if (! $this->isReadable()) {
  3. throw Exception\UnreadableStreamException::dueToConfiguration();
  4. }
  5. $result = stream_get_contents($this->resource);
  6. if (false === $result) {
  7. throw Exception\UnreadableStreamException::dueToPhpError();
  8. }
  9. return $result;
  10. }

Stack Trace

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

  at /home/cookejco/public_html/stjohns5/libraries/vendor/laminas/laminas-diactoros/src/Stream.php:289