I have narrowed down a memory issue in my application to the inclusion of the misd/phone-number-bundle dependency.
I am running a Symfony 3.4 application and when I try and pull in this dependency now I get the following error:
composer require misd/phone-number-bundle
Using version ^1.3 for misd/phone-number-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/Cellar/composer/1.7.2/bin/composer/src/Composer/DependencyResolver/Solver.php on line 220
Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/Cellar/composer/1.7.2/bin/composer/src/Composer/DependencyResolver/Solver.php on line 220
Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.
I can, of course, run composer with no memory limit - but I never used to have to do that until today.
I have narrowed down a memory issue in my application to the inclusion of the
misd/phone-number-bundle
dependency.I am running a Symfony 3.4 application and when I try and pull in this dependency now I get the following error:
I can, of course, run composer with no memory limit - but I never used to have to do that until today.
My full
composer.json
looks like this:If I remove the
phone-number-bundle
there is no memory limit error andcomposer
completes as expected.Has there been a recent change to this bundle that could cause a memory issue?