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

Ballooning memory on install when dataroot not writeable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Caching
    • Labels:
    • Testing Instructions:
      Hide
      1. Perform a fresh install through your browser.
      2. Perform a fresh install through CLI.
      3. Upgrade a 2.3 site in your browser.
      4. Run unit tests.
      5. Prepare to install a site (but don't run installation yet)
      6. Create the directory moodledata/muc and remove all permissions (sudo chmod -R 000 muc)
      7. Attempt the install.
      8. Check you get an error and not an timeout/max memory exceeded/max recursion error.
      Show
      Perform a fresh install through your browser. Perform a fresh install through CLI. Upgrade a 2.3 site in your browser. Run unit tests. Prepare to install a site (but don't run installation yet) Create the directory moodledata/muc and remove all permissions (sudo chmod -R 000 muc) Attempt the install. Check you get an error and not an timeout/max memory exceeded/max recursion error.
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:
      wip-MDL-36466-m24

      Description

      On Barbaras machine trying to do a fresh install:

      11:15 Fatal error: Allowed memory size of 4294967296 bytes exhausted (tried to allocate 71 bytes) in /Users/barbararamiro/Sites/integration/cache/locallib.php on line 68

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    3/Dec/12