From 99fe86a3b3985f81bc212015422f131273fbd802 Mon Sep 17 00:00:00 2001 From: cajus Date: Sat, 21 May 2005 10:05:09 +0000 Subject: [PATCH] Updated memory limit detection to have more room... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@317 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/main.php b/html/main.php index 8bf8414dd..85366e949 100644 --- a/html/main.php +++ b/html/main.php @@ -139,7 +139,7 @@ eval_sizelimit(); /* Check for memory */ if (function_exists("memory_get_usage")){ - if (memory_get_usage() > (to_byte(ini_get('memory_limit')) - 1024000 )){ + if (memory_get_usage() > (to_byte(ini_get('memory_limit')) - 2048000 )){ print_red(_("Warning: memory is getting low - please increase the memory_limit!")); } } -- 2.30.2