Out of Memory on composer install

Your software
My Mautic version is: 5.0.3
My PHP version is: 8.1.27
My Database type and version is: MariaDB 10.5.22

Your problem
My problem is:
When I try to install with composer
composer create-project mautic/recommended-project:^5 mautic_project
I get an “out of memory” error, but I would assume that 1.5GB is enough (which seems to be assumed by composer as default limit, see Troubleshooting - Composer )

Creating a "mautic/recommended-project:^5" project at "./mautic_project"
Installing mautic/recommended-project (5.0.3)
  - Installing mautic/recommended-project (5.0.3): Extracting archive
Created project in /home/.sites/site8/wwwroot/mautic_project
Loading composer repositories with package information                                                                                 Updating dependencies

Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///home/solarspeed/php-8.1/bin/composer81/src/Composer/DependencyResolver/RuleSetGenerator.php on line 117

Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.

Is there really more memory needed? or is there a memory-leak somewhere?
I did not see any requirement on this in the docs at Requirements - Mautic Community