From 8891e81c9289bbab5b3fc5ce8cf293f330d0a1ff Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 14 Feb 2007 20:58:31 +0000 Subject: [PATCH] MDL-8469 - 192M is much nicer than 196M --- admin/cron.php | 2 +- admin/uploaduser.php | 2 +- backup/backup.php | 2 +- backup/lib.php | 2 +- backup/restore.php | 2 +- backup/try.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/admin/cron.php b/admin/cron.php index 9c27ba85b8..f7bc1f37e7 100644 --- a/admin/cron.php +++ b/admin/cron.php @@ -254,7 +254,7 @@ //Execute backup's cron //Perhaps a long time and memory could help in large sites @set_time_limit(0); - @raise_memory_limit("196M"); + @raise_memory_limit("192M"); if (function_exists('apache_child_terminate')) { // if we are running from Apache, give httpd a hint that // it can recycle the process after it's done. Apache's diff --git a/admin/uploaduser.php b/admin/uploaduser.php index 6ee1b67f20..377498a8de 100755 --- a/admin/uploaduser.php +++ b/admin/uploaduser.php @@ -62,7 +62,7 @@ if ($um->preprocess_files() && confirm_sesskey()) { // that we'll take longer, and that the process should be recycled soon // to free up memory. @set_time_limit(0); - @raise_memory_limit("196M"); + @raise_memory_limit("192M"); if (function_exists('apache_child_terminate')) { @apache_child_terminate(); } diff --git a/backup/backup.php b/backup/backup.php index 726b42ad4b..f87a6d4aa7 100644 --- a/backup/backup.php +++ b/backup/backup.php @@ -111,7 +111,7 @@ //Adjust some php variables to the execution of this script @ini_set("max_execution_time","3000"); - raise_memory_limit("196M"); + raise_memory_limit("192M"); //Call the form, depending the step we are if (!$launch) { diff --git a/backup/lib.php b/backup/lib.php index 295cbdfbbd..2bfb708def 100644 --- a/backup/lib.php +++ b/backup/lib.php @@ -658,7 +658,7 @@ } @ini_set("max_execution_time","3000"); - raise_memory_limit("196M"); + raise_memory_limit("192M"); if (!$backup_unique_code = restore_precheck($destinationcourse,$pathtofile,$errorstr,true)) { mtrace($debuginfo.'Failed restore_precheck (error was '.$errorstr.')'); diff --git a/backup/restore.php b/backup/restore.php index 0cd1887e9f..df9b64cfd3 100644 --- a/backup/restore.php +++ b/backup/restore.php @@ -132,7 +132,7 @@ //Adjust some php variables to the execution of this script @ini_set("max_execution_time","3000"); - raise_memory_limit("196M"); + raise_memory_limit("192M"); //Call the form, depending the step we are diff --git a/backup/try.php b/backup/try.php index 9ce12ae5dc..01e025a47d 100644 --- a/backup/try.php +++ b/backup/try.php @@ -19,7 +19,7 @@ //Adjust some php variables to the execution of this script @ini_set("max_execution_time","3000"); - raise_memory_limit("196M"); + raise_memory_limit("192M"); echo "
\n";
 
-- 
2.39.5