From be43898e5a7476e1430f422f868b7ce63be0d718 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Fri, 10 Aug 2012 13:30:20 +0000 Subject: [PATCH] // Low memory variable in the installer has been set to 42M instead of 32M #PSCFV-3588 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16798 b9a71923-0436-4b27-9f14-aed3839534dd --- install-dev/controllers/http/process.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install-dev/controllers/http/process.php b/install-dev/controllers/http/process.php index 4cdadabee..902a6e56d 100644 --- a/install-dev/controllers/http/process.php +++ b/install-dev/controllers/http/process.php @@ -304,7 +304,8 @@ class InstallControllerHttpProcess extends InstallControllerHttp */ public function display() { - $low_memory = Tools::getMemoryLimit() < Tools::getOctets('32M'); + // The installer SHOULD take less than 32M, but may take up to 35/36M sometimes. So 42M is a good value :) + $low_memory = Tools::getMemoryLimit() < Tools::getOctets('42M'); // We fill the process step used for Ajax queries $this->process_steps = array();