Fatal error: Out of memory (allocated 37748736) (tried to allocate 200704 bytes) in /var/www/html/var/view_preprocessed/html/vendor/magento/module-theme/view/base/templates/root.phtml on line 1

Fatal error: Out of memory (allocated 37748736) (tried to allocate 131072 bytes) in /var/www/html/vendor/colinmollenhour/php-redis-session-abstract/src/Cm/RedisSession/Handler.php on line 708