Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowed memory size exhausted with composer package install #5

Open
jgraup opened this issue Feb 19, 2018 · 0 comments
Open

Allowed memory size exhausted with composer package install #5

jgraup opened this issue Feb 19, 2018 · 0 comments

Comments

@jgraup
Copy link

jgraup commented Feb 19, 2018

When trying to install the package as described, I am presented with the following Fatal error:

Using Composer to install the package...
---
Loading composer repositories with package information
Updating dependencies
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 9437184 bytes) in phar:///usr/local/bin/wp/vendor/composer/composer/src/Composer/Repository/ComposerRepository.php on line 565

Not to overcomplicate things, but it may be good to link to the WP-CLI docs on how to deal with common memory issues.

The solution that worked for me:

$ php -d memory_limit=1024M "$(which wp)" package install vccw/scaffold-vccw:@stable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant