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

    • Affected Branches:
      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

              Assignee:
              Unassigned Unassigned
              Reporter:
              mangus Mart Mangus
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Matteo Scaramuccia, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated: