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

httpsreplace tool causes PHP to exceed memory limits

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.3
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      MySQL, mysqlnd library
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_34_STABLE

      Description

      We tried running the https tool against our database and it ran out of memory:

      We got the following message when running from the command line using: php url_replace.php -r --confirm

      Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4304364 bytes) in /var/www/html/upgrade/lib/dml/mysqli_native_moodle_database.php on line 1162
      

      Error received when trying via the web:

      Our database is likely much larger than average.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            nmagill Neill Magill
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: