Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.9.4
-
Fix Version/s: None
-
Component/s: Global search
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
Description
Global search cron job stops with this error:
<b>Fatal error</b>: Allowed memory size of 50331648 bytes exhausted (tried to allocate 2564047 bytes) in <b>E:\Website Files\moodle\search\documents\physical_ppt.php</b> on line <b>50</b><br />
This is odd because I have set php's memory limit to 128MB. Upping that value has no effect whatsoever.
Hi Matt,
historically was the cron hard bumped to 48Mo.
You can get rid of this limit in cron_php5.php in the search engine.
I'll change the code for testing if the actual memory limit is over the hard bound limit so letting the system override this.
cheers.