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

PHP Runs out of Memory when trying to display quiz results with over 8000 attempts

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.9.5, 1.9.6, 1.9.7, 1.9.8, 1.9.9, 1.9.10
    • None
    • Quiz
    • None
    • Linux
    • MySQL
    • MOODLE_19_STABLE

    Description

      Hello,
      I am getting Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 75 bytes) in /moodle/www/lib/dmllib.php on line 728
      when attempting to display the results/attempts of a quiz that has 8184 attempts

      It appears that get_records is being used instead of get_recordset in this instance

      Giving php 512MB did not help resolve this issue either.

      Thanks
      Chris

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              cmurad Chris Murad
              Nobody Nobody
              Tim Hunt, Amaia Anabitarte, Brett Dalton, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              6 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: