Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777224 bytes) in /var/www/tophosting/bn/vhost_44432/libraries/vendor/joomla/database/src/DatabaseDriver.php on line 1311
Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777224 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 16777224 bytes)

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#263486
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777224 bytes)"
    "file" => "/var/www/tophosting/bn/vhost_44432/libraries/vendor/joomla/database/src/DatabaseDriver.php"
    "line" => 1311
  ]
}
  1.         // Get all of the rows from the result set as objects of type $class.
  2.         while ($row $this->fetchObject()) {
  3.             if ($key) {
  4.                 $array[$row->$key] = $row;
  5.             } else {
  6.                 $array[] = $row;
  7.             }
  8.         }
  9.         // Free up system resources and return.
  10.         $this->freeResult();

Stack Trace

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

  at /var/www/tophosting/bn/vhost_44432/libraries/vendor/joomla/database/src/DatabaseDriver.php:1311