]> git.pld-linux.org Git - packages/composer.git/blob - update-memory-limit.patch
up to 1.0.0-alpha9
[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-0.alpha8.5.ac497fe/src/Composer/Command/UpdateCommand.php~   2014-06-10 17:13:12.000000000 +0300
8 +++ composer-1.0.0-0.alpha8.5.ac497fe/src/Composer/Command/UpdateCommand.php    2014-08-05 04:55:27.855176641 +0300
9 @@ -65,6 +65,8 @@
10  
11      protected function execute(InputInterface $input, OutputInterface $output)
12      {
13 +        ini_set('memory_limit', -1);
14 +
15          if ($input->getOption('no-custom-installers')) {
16              $output->writeln('<warning>You are using the deprecated option "no-custom-installers". Use "no-plugins" instead.</warning>');
17              $input->setOption('no-plugins', true);
This page took 0.04499 seconds and 3 git commands to generate.