# Out of Memory on composer install

**URL:** <https://forum.mautic.org/t/out-of-memory-on-composer-install/31541>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [April 2, 2024, 8:28pm UTC](https://forum.mautic.org/t/out-of-memory-on-composer-install/31541 "2024-04-02T20:28:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris299](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@chris299](https://forum.mautic.org/u/chris299)\
**Post date:** [April 2, 2024, 8:28pm UTC](https://forum.mautic.org/t/out-of-memory-on-composer-install/31541/1 "2024-04-02T20:28:56Z")

</div>

**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](https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors) )

```auto
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](https://www.mautic.org/download/requirements)
