]> git.pld-linux.org Git - packages/composer.git/blob - update-memory-limit.patch
update autoloader for new deps (psr/log, composer/ca-bundle)
[packages/composer.git] / update-memory-limit.patch
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
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 @@
10  
11      protected function execute(InputInterface $input, OutputInterface $output)
12      {
13 +        ini_set('memory_limit', -1);
14 +
15          $io = $this->getIO();
16          if ($input->getOption('no-custom-installers')) {
17              $io->writeError('<warning>You are using the deprecated option "no-custom-installers". Use "no-plugins" instead.</warning>');
This page took 0.098312 seconds and 3 git commands to generate.