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

Upgrade of large moodle site runs out of memory when processing page upgradelib

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Installation
    • Labels:
      None
    • Environment:
      Linux, PSQL, 2.0 RC1 (Build: 20100921)
    • Database:
      PostgreSQL
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Allowed memory size of 100663296 bytes exhausted mod/page/db/upgradelib.php

      This is fixed by raising the memory limit to 512Mb within the upgradelib.php.

      Would it be possible to add the use of "$CFG->extramemorylimit" in admin/cli/upgrade.php or lib/clilib.php to preempt this issue?

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            tlock Tim Lock
            Tester:
            Nobody
            Participants:
            Component watchers:
            Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10