So I am following on with the youtube tutorial:
However when I input the command:
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition .
I Get the error:
mmap() failed:  Cannot allocate memory mmap() failed:  Cannot allocate memory PHP Fatal error: Out of memory (allocated 645931008) (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php on line 129
I have tried updating the
/etc/.../php.ini file but using -1 (infinity) and 2G does not have any effect.
Any suggestions on this error?