Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.9
-
Fix Version/s: None
-
Component/s: Course
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
Description
Here is how you repo:
1. Load the moodle installation with 60,000+ courses (using scripts)
2. Load the moodle test case course (download from http://download.moodle.org/testcourse/)
3. Go into the moodle test case course, then click on the "Import" link under the "Administration" block, it load really slow and eventually give up
4. Enable the debug message and you will see this error message (also see screenshot):
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 53 bytes) in /usr/local/apache2/htdocs/reference/moodle19/lib/dmllib.php on line 728
Attachments
Issue Links
| This issue has been marked as being related by: | ||||
| MDL-10614 | Long page loading time when instructor uses Import function and have large number of courses on server |
|
|
|
This is occurring on our site when trying to do an import as an admin or a site-wide course creator. It looks like the problem is that a user with admin rights gets a dropdown populated with every course on the site, and then another with every course in the same category. It would make more sense to just show the search box for admins and skip populating the dropdown menus with thousands of courses.