Browse Source

Boost memory_limit at runtime if permitted

Jordi Boggiano 12 years ago
parent
commit
32692e519c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      bin/composer

+ 2 - 1
bin/composer

@@ -6,7 +6,8 @@ require __DIR__.'/../src/bootstrap.php';
 use Composer\Console\Application;
 use Composer\Console\Application;
 
 
 error_reporting(-1);
 error_reporting(-1);
-ini_set('display_errors', 1);
+@ini_set('display_errors', 1);
+@ini_set('memory_limit', '512M');
 
 
 // run the command application
 // run the command application
 $application = new Application();
 $application = new Application();