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

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

      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

            timhunt Tim Hunt
            cmurad Chris Murad
            Nobody Nobody (Inactive)
            Votes:
            6 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.