[root@iZj6cek7rpr0pyvf5pttupZ weeter]# composer update
Warning: This development build of composer is over 60 days old. It is recommended to update it by running "/usr/bin/composer self-update" to get the latest version.
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies (including require-dev)
PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 528384 bytes) in phar:///usr/bin/composer/src/Composer/DependencyResolver/Pool.php on line 205
Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 528384 bytes) in phar:///usr/bin/composer/src/Composer/DependencyResolver/Pool.php on line 205
Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.[root@iZj6cek7rpr0pyvf5pttupZ h5-game-for-tweeter]# ^C
[root@iZj6cek7rpr0pyvf5pttupZ h5-game-for-tweeter]#
解决方案1:升级机器内存