]> git.pld-linux.org Git - packages/composer.git/blame - update-memory-limit.patch
up to 1.0.0-alpha9
[packages/composer.git] / update-memory-limit.patch
CommitLineData
048c2357
ER
1update command is very memory hungry
2and there's no good solution for that
3as the memory usage is unexpected, just disable it
4
5https://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.109844 seconds and 4 git commands to generate.