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

Large number of quiz attempts (effectively) break backup

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.6.5
    • None
    • Backup, Quiz
    • None
    • 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

              stronk7 Eloy Lafuente (stronk7)
              howardsmiller Howard Miller
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: