From: cajus Date: Sat, 21 May 2005 10:05:09 +0000 (+0000) Subject: Updated memory limit detection to have more room... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=99fe86a3b3985f81bc212015422f131273fbd802;p=gosa.git Updated memory limit detection to have more room... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@317 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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!")); } }