Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 35655680 bytes) in /var/www/vhosts/kaffeetechnik-seubert.de/httpdocs/deinbarista_de/shopware/vendor/shopware/core/Framework/Adapter/Cache/CacheValueCompressor.php on line 30

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/kaffeetechnik-seubert.de/httpdocs/deinbarista_de/shopware/vendor/shopware/core/Framework/Adapter/Cache/CacheValueCompressor.php:30) in /var/www/vhosts/kaffeetechnik-seubert.de/httpdocs/deinbarista_de/shopware/vendor/symfony/http-foundation/Session/SessionUtils.php on line 52
Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 35655680 bytes) (500 Internal Server Error)

Symfony Exception

OutOfMemoryError

HTTP 500 Internal Server Error

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

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
0 of 0
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#9346 -error: array:4 [ "type" => 1 "message" => "Allowed memory size of 268435456 bytes exhausted (tried to allocate 35655680 bytes)" "file" => "/var/www/vhosts/kaffeetechnik-seubert.de/httpdocs/deinbarista_de/shopware/vendor/shopware/core/Framework/Adapter/Cache/CacheValueCompressor.php" "line" => 30 ] }
  1. }
  2. if (self::$compressMethod === 'zstd') {
  3. $compressed = \zstd_compress(\serialize($content));
  4. } elseif (self::$compressMethod === 'gzip') {
  5. $compressed = \gzcompress(\serialize($content), 9);
  6. } else {
  7. throw FrameworkException::invalidCompressionMethod(self::$compressMethod);
  8. }
  9. if ($compressed === false) {