Fatal error: Allowed memory size of 792723456 bytes exhausted in Magento 2

Please follow below step with CLI

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

php bin/magento cache:flush
php bin/magento cache:clean

If you face same issue please change memory configuration

[root-folder]/.user.ini
memory_limit = 768M
[root-folder]/.htaccess (two place)
php_value memory_limit 768M
[root-folder]/pub/.user.ini
memory_limit = 768M
[root-folder]/pub/.htaccess (two place)
php_value memory_limit 768M