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

Large number of quiz attempts (effectively) break backup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.6.5
    • Fix Version/s: None
    • Component/s: Backup, Quiz
    • Labels:
      None
    • Affected Branches:
      MOODLE_16_STABLE

      Description

      I've been unable to verify if this problem persists in newer versions that 1.6.5 - but I should be able to soon

      If a course has a large (but not ridiculous) number of quiz attempts (order of 1000 for a quiz with about 25 questions) backup and/or restore is severely compromised. It seems that building the XML for those attempts burns up crazy amounts of memory (we went up to half a gig before giving up). A similar problem is exhibited trying to restore the file - this has been verified as a problem in 1.8 STABLE.

      IMHO, backup and restore shouldn't ever use that amount of memory, although I appreciate the solution will be complex.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stronk7 Eloy Lafuente (stronk7)
                Reporter:
                howardsmiller Howard Miller
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias, Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: