Even if you increased the php memory limit for the web application, you will still face this issue again. Because the Magento Web Setup Wizard runs CLI commands via CRON jobs to install Magento.
Therefore, increase the php memory limit for php-cli to avoid this issue.
Run the next CLI command to see the memory limit for php-cli:
php -i | grep 'memory_limit'
This seems obvious, but there are frequent questions about this issue on the Internet.