Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-4994

Upgrade to 2.5 runs out of memory on large sites

XMLWordPrintable

    • 2.5
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE

      First reported by davosmith in https://github.com/remotelearner/moodle-mod_questionnaire/commit/9064a153f165a57e6b5fc5a6c86c626ec8a53a73#commitcomment-5970635

      This runs out of memory on sites with a large number of questionnaires (e.g. 1.9 million records in this table).
      A better approach would be to use 'get_recordset'.
      (The line below will also need changing to:
      $total = $DB->count_records('questionnaire_quest_choice');
      )

            mchurch Mike Churchward
            jenny-gray Jenny Gray (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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