From 32692e519c2e47a59103d532672b180129a3a53b Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 14 Jun 2012 14:21:17 +0200 Subject: [PATCH] Boost memory_limit at runtime if permitted --- bin/composer | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/composer b/bin/composer index 6ffa2c25c..1ea4284e7 100755 --- a/bin/composer +++ b/bin/composer @@ -6,7 +6,8 @@ require __DIR__.'/../src/bootstrap.php'; use Composer\Console\Application; error_reporting(-1); -ini_set('display_errors', 1); +@ini_set('display_errors', 1); +@ini_set('memory_limit', '512M'); // run the command application $application = new Application();