Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2097152 bytes) in /opt/.repos/datahub-dashboard/repo/vendor/doctrine/mongodb-odm/src/Iterator/HydratingIterator.php on line 62
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2097152 bytes) (500 Internal Server Error)

Symfony Exception

OutOfMemoryError

HTTP 500 Internal Server Error

Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2097152 bytes)

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#279369
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 2097152 bytes)"
    "file" => "/opt/.repos/datahub-dashboard/repo/vendor/doctrine/mongodb-odm/src/Iterator/HydratingIterator.php"
    "line" => 62
  ]
}
  1. return $this->getIterator()->key();
  2. }
  3. public function next(): void
  4. {
  5. $this->getIterator()->next();
  6. }
  7. public function rewind(): void
  8. {
  9. $this->getIterator()->rewind();

Logs 1

Level Message
info 18:40:18 User Deprecated: Since doctrine/mongodb-odm 2.3: Document short namespace aliases are deprecated, use ::class constant instead.
{
    "exception": {}
}
info 18:40:18 Matched route "report".
{
    "route": "report",
    "route_parameters": {
        "_route": "report",
        "aspect": "ambiguity",
        "parameter": "terms",
        "question": "displayed-concept",
        "_controller": "App\\Controller\\ReportController::report",
        "_locale": "en",
        "provider": "msk"
    },
    "request_uri": "https://dashboard.vlaamsekunstcollectie.be/en/report/msk/ambiguity/terms/displayed-concept",
    "method": "GET"
}
debug 18:40:18 MongoDB command: {"find":"providers","filter":{},"$db":"datahub_dashboard","lsid":{"id":{"$binary":"HBTmsTKiQw6c5QIOvi0E7g==","$type":"04"}}}
debug 18:40:18 MongoDB command: {"find":"records","filter":{"provider":"msk"},"projection":{"data.displayed_concept":1},"$db":"datahub_dashboard","lsid":{"id":{"$binary":"HBTmsTKiQw6c5QIOvi0E7g==","$type":"04"}}}
debug 18:40:18 MongoDB command: {"getMore":6684733830175695922,"collection":"records","$db":"datahub_dashboard","lsid":{"id":{"$binary":"HBTmsTKiQw6c5QIOvi0E7g==","$type":"04"}}}
critical 18:40:18 Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\OutOfMemoryError: "Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2097152 bytes)" at HydratingIterator.php line 62
{
    "exception": {}
}

Stack Trace

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

  at vendor/doctrine/mongodb-odm/src/Iterator/HydratingIterator.php:62