Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39205

User profile page runs out of memory when user is enrolled in a lot of courses

    XMLWordPrintable

Details

    • MOODLE_24_STABLE

    Description

      When user is enrolled to about 900 courses or more, then the profile page (/user/profile.php?id=USER_ID) runs out of memory.

      The error message:

      Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /home/moodle/public_html/lib/weblib.php on line 1277
      

      When I delete some of the enrollments (to about 600 courses) then the page works well.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mangus Mart Mangus
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: