Issue Details (XML | Word | Printable)

Key: MDL-9363
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Petr Skoda
Reporter: Petr Skoda
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

update memory limit checks and docs

Created: 15/Apr/07 10:15 PM   Updated: 22/Jul/08 08:39 PM
Component/s: Documentation, Installation
Affects Version/s: 1.8
Fix Version/s: 1.8.1

Participants: Daniele Cordella and Petr Skoda
Security Level: None
Resolved date: 15/Apr/07
Affected Branches: MOODLE_18_STABLE
Fixed Branches: MOODLE_18_STABLE


 Description  « Hide
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.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda made changes - 15/Apr/07 10:16 PM
Field Original Value New Value
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
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.
Priority Minor [ 4 ] Critical [ 2 ]
Petr Skoda made changes - 15/Apr/07 10:16 PM
Summary update memory limit checks update memory limit checks and docs
Petr Skoda made changes - 15/Apr/07 10:16 PM
Priority Critical [ 2 ] Major [ 3 ]
Petr Skoda committed 2 files to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 15/Apr/07 10:25 PM
MDL-9363 update memory limit checks and docs
MODIFY lang/en_utf8/install.php   Rev. 1.13.2.1    (+4 -4 lines)
MODIFY install.php   Rev. 1.65.2.6    (+6 -6 lines)
Petr Skoda committed 2 files to 'Moodle CVS' - 15/Apr/07 10:30 PM
MDL-9363 update memory limit checks and docs; merged from MOODLE_18_STABLE
MODIFY install.php   Rev. 1.72    (+6 -6 lines)
MODIFY lang/en_utf8/install.php   Rev. 1.14    (+4 -4 lines)
Petr Skoda made changes - 15/Apr/07 10:38 PM
Component/s Administration [ 10050 ]
Component/s Installation [ 10069 ]
Component/s Documentation [ 10073 ]
Petr Skoda committed 37 files to 'Lang CVS' - 15/Apr/07 10:41 PM
MDL-9363 update memory limit checks and docs
MODIFY fr_utf8/install.php   Rev. 1.18    (+3 -3 lines)
MODIFY ka_utf8/install.php   Rev. 1.3    (+3 -3 lines)
MODIFY sr_cr_utf8/install.php   Rev. 1.10    (+2 -2 lines)
MODIFY mi_wwow_utf8/install.php   Rev. 1.3    (+2 -2 lines)
MODIFY hu_utf8/install.php   Rev. 1.6    (+3 -3 lines)
MODIFY sm_utf8/install.php   Rev. 1.3    (+4 -4 lines)
MODIFY cs_utf8/install.php   Rev. 1.6    (+3 -3 lines)
MODIFY sl_utf8/install.php   Rev. 1.4    (+3 -3 lines)
MODIFY tl_utf8/install.php   Rev. 1.9    (+3 -3 lines)
MODIFY ta_utf8/install.php   Rev. 1.4    (+4 -4 lines)
MODIFY ca_utf8/install.php   Rev. 1.7    (+2 -2 lines)
MODIFY fr_ca_utf8/Attic/install.php   Rev. 1.3    (+2 -2 lines)
MODIFY zh_tw_utf8/install.php   Rev. 1.2    (+4 -4 lines)
MODIFY vi_utf8/install.php   Rev. 1.5    (+3 -3 lines)
MODIFY it_utf8/install.php   Rev. 1.7    (+3 -3 lines)
MODIFY pt_utf8/install.php   Rev. 1.6    (+3 -3 lines)
MODIFY de_du_utf8/install.php   Rev. 1.2    (+4 -4 lines)
MODIFY tr_utf8/install.php   Rev. 1.12    (+3 -3 lines)
MODIFY da_utf8/install.php   Rev. 1.7    (+3 -3 lines)
MODIFY fi_utf8/install.php   Rev. 1.11    (+3 -3 lines)
MODIFY es_utf8/install.php   Rev. 1.8    (+3 -3 lines)
MODIFY sk_utf8/install.php   Rev. 1.6    (+3 -3 lines)
MODIFY eu_utf8/install.php   Rev. 1.6    (+3 -3 lines)
MODIFY nl_utf8/install.php   Rev. 1.9    (+3 -3 lines)
MODIFY no_utf8/install.php   Rev. 1.3    (+3 -3 lines)
MODIFY et_utf8/install.php   Rev. 1.2    (+3 -3 lines)
MODIFY ko_utf8/install.php   Rev. 1.6    (+3 -3 lines)
MODIFY bs_utf8/install.php   Rev. 1.3    (+3 -3 lines)
MODIFY sv_utf8/install.php   Rev. 1.4    (+3 -3 lines)
MODIFY zh_cn_utf8/install.php   Rev. 1.9    (+3 -3 lines)
MODIFY pl_utf8/install.php   Rev. 1.5    (+3 -3 lines)
MODIFY ja_utf8/install.php   Rev. 1.23    (+3 -3 lines)
MODIFY pt_br_utf8/install.php   Rev. 1.5    (+3 -3 lines)
MODIFY to_utf8/install.php   Rev. 1.3    (+4 -4 lines)
MODIFY sr_lt_utf8/install.php   Rev. 1.10    (+4 -4 lines)
MODIFY th_utf8/install.php   Rev. 1.5    (+3 -3 lines)
MODIFY de_utf8/install.php   Rev. 1.12    (+3 -3 lines)
Petr Skoda added a comment - 15/Apr/07 10:43 PM
fixed in moodle and langs, closing...
the change in installer will be visible after next installer.php update

Petr Skoda made changes - 15/Apr/07 10:43 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Petr Skoda committed 1 file to 'Moodle CVS' - 15/Apr/07 10:44 PM
MDL-9363 update memory limit checks and docs - grrr, removed debug code
MODIFY install.php   Rev. 1.73    (+2 -2 lines)
Petr Skoda committed 1 file to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 15/Apr/07 10:45 PM
MDL-9363 update memory limit checks and docs - grrr, removed debug code; backported from HEAD
MODIFY install.php   Rev. 1.65.2.7    (+2 -2 lines)
Petr Skoda added a comment - 15/Apr/07 10:57 PM
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.


toyomoyo committed 3 files to 'Moodle CVS' - 13/Jul/07 04:06 PM
MDL-9363, some fixes for grade import, not finished!
MODIFY grade/import/grade_import_form.php   Rev. 1.9    (+21 -23 lines)
MODIFY grade/import/lib.php   Rev. 1.5    (+44 -42 lines)
MODIFY grade/import/csv/index.php   Rev. 1.16    (+104 -35 lines)
Daniele Cordella added a comment - 22/Jul/08 08:37 PM
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!!!!

Daniele Cordella added a comment - 22/Jul/08 08:39 PM