Fatal error: Out of memory (allocated 6291456) (tried to allocate 20480 bytes) in /var/www/live/vendor/magento/framework/Serialize/Serializer/Json.php on line 37

Fatal error: Out of memory (allocated 6291456) (tried to allocate 16384 bytes) in /var/www/live/vendor/magento/framework/DB/Statement/Pdo/Mysql.php on line 91