Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.8.8, 3.9.5, 3.10.2
-
MOODLE_310_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
Description
We have a site with 101,334 courses when doing the following actions in Moodle we get out of memory issues:
- Navigate to the global search page
- Expand the Filter section
- Click to open the Courses select
Expected outcome: A list of courses is displayed
Actual outcome: Eventually there is a JavaScript error and the Moodle session is killed (at least on out servers where we are using memcache sessions).
I was able to do this on a user with a site level role that gave access to all courses.
On our site this will also happen with any sufficiently broad search term for example a single letter. The only work around seems to be to paste in a full search term straight away into the course box so the number of courses found is reasonably small.