From: martinlanghoff Date: Thu, 12 Apr 2007 03:25:57 +0000 (+0000) Subject: moodle_request_shutdown(): raise $CFG->apachemaxmem to 25MiB for 1.7 and newer X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7f36ba112b3f575357ead287a2d96a25ae85b961;p=moodle.git moodle_request_shutdown(): raise $CFG->apachemaxmem to 25MiB for 1.7 and newer --- diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 08196465d3..645ed38511 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -6517,7 +6517,7 @@ function moodle_request_shutdown() { // but check just in case if (function_exists('apache_child_terminate') && function_exists('memory_get_usage')) { if (empty($CFG->apachemaxmem)) { - $CFG->apachemaxmem = 10000000; // default 10MiB + $CFG->apachemaxmem = 25000000; // default 25MiB } if (memory_get_usage() > (int)$CFG->apachemaxmem) { trigger_error('Mem usage over $CFG->apachemaxmem: marking child for reaping.');