can anyone explain to me how does memory_limit affect to moodle running?
also I found this on php.net
http://bugs.php.net/bug.php?id=36568
it suggests memory_limit have no effect on windows box, this really confuse me now.
**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.
In my experience, the only matter in which memory_limit can affect moodle execution is in loading content. The file upload is indeed affected by three php.ini parameters: memory_limit, post_max_size and upload_max_filesize, as stated also in the php.net site documentation.
It doesn't matter if it doesn't affect you, but if you have it set low don't be surprised if you get a call about blank pages at some point.
What functions cause the blank pages for users?
I just moved to Moodle 2.0, which requires a 128Mb memory_limit (up from 40Mb for Moodle 1.9). However most shared hosting providers do not allow this large a memory_limit. Mine temporarily let me raise it to 128Mb for the upgrade, but moved me back to 64Mb afterwards. After experimenting I have only found course backup and restore need 128Mb. If I don't do course backups, can I get by with 64Mb memory_limit without blank pages for users? I only have 20 users enrolled. Or is there some other memory intensive function I have missed?
Geoff,
Did you ever get your query answered?
Joseph
http://docs.moodle.org/en/Performance
The page at php.net you link to also says that the bug was fixed in PHP 5.1 two weeks later.
RLE
thanks for your reply. I've just read that bug fix

LZ