Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /app/vendor/doctrine/dbal/src/Types/JsonType.php on line 66

Warning: Cannot modify header information - headers already sent by (output started at /app/vendor/doctrine/dbal/src/Types/JsonType.php:66) 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/doctrine/dbal/src/Types/JsonType.php:66) 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/doctrine/dbal/src/Types/JsonType.php:66) 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 {#181245
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)"
    "file" => "/app/vendor/doctrine/dbal/src/Types/JsonType.php"
    "line" => 66
  ]
}
  1. if (is_resource($value)) {
  2. $value = stream_get_contents($value);
  3. }
  4. try {
  5. return json_decode($value, true, 512, JSON_THROW_ON_ERROR);
  6. } catch (JsonException $e) {
  7. throw ConversionException::conversionFailed($value, $this->getName(), $e);
  8. }
  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/dbal/src/Types/JsonType.php:66