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

update memory limit checks and docs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.1
    • Component/s: Documentation, Installation
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      Moodle 1.8 does not install if memory limit is less than 40M in PHP 5.2.0; previous versions of PHP require less memory because the used memory calculation is wrong.

      To do:
      1/ fix installation docs
      2/ fix checked limits in installer

      This fix should prevent frequent incomplete install reports caused by running out of memory.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            skodak Petr Skoda added a comment -

            fixed in moodle and langs, closing...
            the change in installer will be visible after next installer.php update

            Show
            skodak Petr Skoda added a comment - fixed in moodle and langs, closing... the change in installer will be visible after next installer.php update
            Hide
            skodak Petr Skoda added a comment -

            Official min limit is 40M now. It may work with lower memory settings but even 40M may not be always enough. Normal Moodle pages try to increate the memory to 96M, cron and other scripts to 192M.

            Please note that code is tested mostly with the higher memory settings, not with enforced 40M limit.

            Show
            skodak Petr Skoda added a comment - Official min limit is 40M now. It may work with lower memory settings but even 40M may not be always enough. Normal Moodle pages try to increate the memory to 96M, cron and other scripts to 192M. Please note that code is tested mostly with the higher memory settings, not with enforced 40M limit.
            Hide
            daniss Daniele Cordella added a comment -

            Ciao Petr
            I had the same problem you described. I had incomplete install caused by running out of memory on Moodle 2.0 and moodle didn't risw up any warning. Maybe this check should be improved!!!!

            Show
            daniss Daniele Cordella added a comment - Ciao Petr I had the same problem you described. I had incomplete install caused by running out of memory on Moodle 2.0 and moodle didn't risw up any warning. Maybe this check should be improved!!!!
            Hide
            daniss Daniele Cordella added a comment -
            Show
            daniss Daniele Cordella added a comment - please have a look at http://moodle.org/mod/forum/discuss.php?d=98673

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Jun/07