Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

moodle_request_shutdown(): raise $CFG->apachemaxmem to 25MiB for 1.7 …

…and newer
  • Loading branch information...
commit 7b6c65a56076045493ca33b60f91d79c48d364ee 1 parent c935b99
martinlanghoff authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/moodlelib.php
2  lib/moodlelib.php
View
@@ -6529,7 +6529,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.');
Please sign in to comment.
Something went wrong with that request. Please try again.