]>
Commit | Line | Data |
---|---|---|
048c2357 ER |
1 | update command is very memory hungry |
2 | and there's no good solution for that | |
3 | as the memory usage is unexpected, just disable it | |
4 | ||
5 | https://github.com/composer/composer/issues/1898 | |
6 | ||
1fe17f86 ER |
7 | --- composer-1.0.0-14.alpha11/src/Composer/Command/UpdateCommand.php~ 2015-11-14 18:21:07.000000000 +0200 |
8 | +++ composer-1.0.0-14.alpha11/src/Composer/Command/UpdateCommand.php 2015-11-25 17:46:18.524578082 +0200 | |
9 | @@ -75,6 +75,8 @@ | |
048c2357 ER |
10 | |
11 | protected function execute(InputInterface $input, OutputInterface $output) | |
12 | { | |
13 | + ini_set('memory_limit', -1); | |
14 | + | |
1fe17f86 | 15 | $io = $this->getIO(); |
048c2357 | 16 | if ($input->getOption('no-custom-installers')) { |
1fe17f86 | 17 | $io->writeError('<warning>You are using the deprecated option "no-custom-installers". Use "no-plugins" instead.</warning>'); |