From 22d42bf0cea70c9e372a04a3c76c041daa4e9cfd Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 16 Aug 2004 07:26:19 +0000 Subject: [PATCH] If possible, increase the memory limit at run-time. doh! Not many servers have this compiled into PHP though. --- lib/setup.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/setup.php b/lib/setup.php index c5d36c90dd..82866b5603 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -73,6 +73,9 @@ require_once("$CFG->libdir/moodlelib.php"); // Other general-purpose functions +/// Increase memory limits if possible + + @ini_set('memory_limit' , '16M'); /// Load up any configuration from the config table -- 2.39.5