Closed andygagnon closed 7 years ago
Hi @andygagnon,
You'll need to increase the amount of memory available to PHP-CLI, see https://make.wordpress.org/cli/handbook/common-issues/#php-fatal-error-allowed-memory-size-of-999999-bytes-exhausted-tried-to-allocate-99-bytes
Bumping up from 128M to 256M worked. Thank you.
On Wed, Feb 8, 2017 at 4:33 PM, Daniel Bachhuber notifications@github.com wrote:
Closed #102 https://github.com/wp-cli/doctor-command/issues/102.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wp-cli/doctor-command/issues/102#event-954603878, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdvzFfLCC2KLQ5V9oFkPTbq6lEPAb8tks5rajSmgaJpZM4L7V5k .
-- Web: http://andregagnon.com Twitter: @andygagnon https://twitter.com/andygagnon LinkedIn: https://www.linkedin.com/in/andygagnon
Couldn't install either package on my vagrant box. Same error for each:
[08:44 PM]-[vagrant@local]-[/vagrant] $ wp package install wp-cli/doctor Installing package wp-cli/doctor (dev-master) Updating /home/vagrant/.wp-cli/packages/composer.json to require the package... 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 20480 bytes) in /usr/share/wp-cli/vendor/composer/composer/src/Composer/DependencyResolver/RuleSetGenerator.php on line 126 PHP Stack trace: PHP 1. {main}() /usr/share/wp-cli/php/boot-fs.php:0 PHP 2. include() /usr/share/wp-cli/php/boot-fs.php:17 PHP 3. WP_CLI\Runner->start() /usr/share/wp-cli/php/wp-cli.php:21 PHP 4. WP_CLI\Runner->_run_command() /usr/share/wp-cli/php/WP_CLI/Runner.php:803 PHP 5. WP_CLI\Runner->run_command() /usr/share/wp-cli/php/WP_CLI/Runner.php:323 PHP 6. WP_CLI\Dispatcher\Subcommand->invoke() /usr/share/wp-cli/php/WP_CLI/Runner.php:316 PHP 7. call_user_func:{/usr/share/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:388}() /usr/share/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:388 PHP 8. WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher{closure}() /usr/share/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:388 PHP 9. call_user_func:{/usr/share/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:67}() /usr/share/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:67 PHP 10. Package_Command->install() /usr/share/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:67 PHP 11. Composer\Installer->run() /usr/share/wp-cli/php/commands/package.php:303 PHP 12. Composer\Installer->doInstall() /usr/share/wp-cli/vendor/composer/composer/src/Composer/Installer.php:216 PHP 13. Composer\DependencyResolver\Solver->solve() /usr/share/wp-cli/vendor/composer/composer/src/Composer/Installer.php:461 PHP 14. Composer\DependencyResolver\RuleSetGenerator->getRulesFor() /usr/share/wp-cli/vendor/composer/composer/src/Composer/DependencyResolver/Solver.php:214 PHP 15. Composer\DependencyResolver\RuleSetGenerator->addRulesForJobs() /usr/share/wp-cli/vendor/composer/composer/src/Composer/DependencyResolver/RuleSetGenerator.php:333 PHP 16. Composer\DependencyResolver\RuleSetGenerator->addRulesForPackage() /usr/share/wp-cli/vendor/composer/composer/src/Composer/DependencyResolver/RuleSetGenerator.php:293 PHP 17. Composer\DependencyResolver\RuleSetGenerator->createConflictRule() /usr/share/wp-cli/vendor/composer/composer/src/Composer/DependencyResolver/RuleSetGenerator.php:246
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /usr/share/wp-cli/vendor/composer/composer/src/Composer/DependencyResolver/RuleSetGenerator.php on line 126
Call Stack: 0.0002 353944 1. {main}() /usr/share/wp-cli/php/boot-fs.php:0 0.0014 359568 2. include('/usr/share/wp-cli/php/wp-cli.php') /usr/share/wp-cli/php/boot-fs.php:17 0.0227 1357992 3. WP_CLI\Runner->start() /usr/share/wp-cli/php/wp-cli.php:21 0.0284 1450000 4. WP_CLI\Runner->_run_command() /usr/share/wp-cli/php/WP_CLI/Runner.php:803 0.0284 1450000 5. WP_CLI\Runner->run_command() /usr/share/wp-cli/php/WP_CLI/Runner.php:323 0.0370 1745776 6. WP_CLI\Dispatcher\Subcommand->invoke() /usr/share/wp-cli/php/WP_CLI/Runner.php:316 0.0512 2209344 7. call_user_func:{/usr/share/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:388}() /usr/share/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:388 0.0512 2209344 8. WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher{closure}() /usr/share/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:388 0.0512 2210152 9. call_user_func:{/usr/share/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:67}() /usr/share/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:67 0.0512 2210152 10. Package_Command->install() /usr/share/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:67 0.6635 7964344 11. Composer\Installer->run() /usr/share/wp-cli/php/commands/package.php:303 0.6673 8029576 12. Composer\Installer->doInstall() /usr/share/wp-cli/vendor/composer/composer/src/Composer/Installer.php:216 1.6855 10540952 13. Composer\DependencyResolver\Solver->solve() /usr/share/wp-cli/vendor/composer/composer/src/Composer/Installer.php:461 1.6856 10543568 14. Composer\DependencyResolver\RuleSetGenerator->getRulesFor() /usr/share/wp-cli/vendor/composer/composer/src/Composer/DependencyResolver/Solver.php:214 6.9760 116738920 15. Composer\DependencyResolver\RuleSetGenerator->addRulesForJobs() /usr/share/wp-cli/vendor/composer/composer/src/Composer/DependencyResolver/RuleSetGenerator.php:333 6.9761 116739336 16. Composer\DependencyResolver\RuleSetGenerator->addRulesForPackage() /usr/share/wp-cli/vendor/composer/composer/src/Composer/DependencyResolver/RuleSetGenerator.php:293 7.2341 129665480 17. Composer\DependencyResolver\RuleSetGenerator->createConflictRule() /usr/share/wp-cli/vendor/composer/composer/src/Composer/DependencyResolver/RuleSetGenerator.php:246