需要汞时出现内存不足错误

时间:2019-06-15 07:38:25

标签: php symfony composer-php

我正在尝试安装Mercure(https://symfony.com/doc/current/mercure.html)。我收到此错误。

这是我使用的命令:

composer require symfony/mercure

我什至尝试过:

php -d memory_limit=-1 composer.phar require symfony/mercure,我仍然遇到相同的错误。

错误消息:

    $ composer require symfony/mercure
PHP Warning: Module 'openssl' already loaded in Unknown on line 0

Warning: Module 'openssl' already loaded in Unknown on line 0
Using version ^0.1.0 for symfony/mercure
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)

VirtualAlloc() failed: [0x00000008] Not enough memory resources are available to process this command.

VirtualFree() failed: [0x000001e7] Attempt to access invalid address.

VirtualAlloc() failed: [0x00000008] Not enough memory resources are available to process this command.

VirtualFree() failed: [0x000001e7] Attempt to access invalid address.

PHP Fatal error: Out of memory (allocated 1570766848) (tried to allocate 4096 bytes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/Solver.php on line 223

Fatal error: Out of memory (allocated 1570766848) (tried to allocate 4096 bytes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/Solver.php on line 223

0 个答案:

没有答案