Upgrading to version 1.9.4 (from 1.9.3) i have receveid this message:
Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 24 bytes) in /home/corsotao/public_html/moodle/admin/mnet/MethodTable.php on line 77
my server settings are: memory_limit 40MB and the server administrator doesn't change this parameter
It's possible that doodle uses over 40MB ?
Are there other possible solutions ? (ex. add ini_set(”memory_limit”, “40M”) where ?)
or should i downgrade to 1.9.3 version ??
thanks for the help
GC,
- Yes, it is possible Moodle requires over 40 MB; I don't know about doodle
. According to Installing_Moodle#Software, "memory_limit should be at least 16M (32M is recommended for Moodle 1.7 and 40M for Moodle 1.8 or later). Large sites may need more than 128M. PHP 5.2.x requires higher memory_limit values than previous versions of PHP. 64bit operating systems require even more memory." See also Errors FAQ#Fatal_error_allowed_memory_size_exhausted._How_do_I_increase_my_php_memory_limit.3F - Yes, you can use the ini_set function. I would put it in config.php, in the main (top-level) Moodle folder (directory), where config-dist.php is.
- You can't downgrade Moodle. You would have to restore your 1.9.2 installation, then upgrade to 1.9.3. But I would consider that a last resort.