Issue Details (XML | Word | Printable)

Key: MDL-18696
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Valery Fremaux
Reporter: Matt Gibson
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Global search runs out of memory way below the PHP memory limit

Created: 26/Mar/09 07:58 PM   Updated: 30/Mar/09 03:39 PM
Return to search
Component/s: Global search
Affects Version/s: 1.9.4
Fix Version/s: None

Participants: Matt Gibson and Valery Fremaux
Security Level: None
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
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.


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Valery Fremaux added a comment - 30/Mar/09 03:39 PM
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.