Moodle

update memory limit checks and docs

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major 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.

Activity

Hide
Petr Škoda (skodak) added a comment -

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

Show
Petr Škoda (skodak) added a comment - fixed in moodle and langs, closing... the change in installer will be visible after next installer.php update
Hide
Petr Škoda (skodak) 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
Petr Škoda (skodak) 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
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
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
Daniele Cordella added a comment -
Show
Daniele Cordella added a comment - please have a look at http://moodle.org/mod/forum/discuss.php?d=98673

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: