From e99033b059ad42d0db06bc901335e602c596288e Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Wed, 17 Nov 2010 06:57:22 +0000 Subject: [PATCH] NOBUG: Documenting CFG->extramemorylimit within config-dist --- config-dist.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config-dist.php b/config-dist.php index 5254edfa131..65aa63d25f2 100644 --- a/config-dist.php +++ b/config-dist.php @@ -349,6 +349,15 @@ $CFG->admin = 'admin'; // // $CFG->lang = 'yourlangcode'; // for example 'cs' // +// When Moodle is about to perform an intensive operation it sets a memory limit +// it thinks is suitable for the required operation. The following settings should +// be turned on for large sites and is used to ensure that the memory limit is +// only raised if the current memory limit is lower than the currently set memory +// limit in PHP. +// +// $CFG->extramemorylimit = true; +// +// //========================================================================= // 8. SETTINGS FOR DEVELOPMENT SERVERS - not intended for production use!!! //=========================================================================