Claroline with memory_limit=64M

Ask your questions and tell us what's wrong

Claroline with memory_limit=64M

Postby Archetti on Tue May 08, 2012 5:37 pm

Hi,
my web provider set the PHP memory_limit parameter to 64M.
I am having some problems accessing some pages, especially those with the editor.
Do you think that the memory_limit set to 64M is not enough for Claroline to work normally?

Thanks
User avatar
Archetti
Contributeurs Actif Forum
 
Posts: 95
Joined: Fri Aug 17, 2007 9:28 pm
Location: Maputo

Re: Claroline with memory_limit=64M

Postby zefredz on Wed May 09, 2012 7:44 am

Hello,

To know if there is an issue with memory_limit, you have to check the in PHP error log (ask your web provider to know where it is). If you cannot access this log, try to deactivate the editor gzip compression in the platform configuration (Main settings > Advanced settings tab) to see if it fix the issue.

Be aware that the memory_limit directive also affects the generation of zip archives in documents and assignments tools. You have to configure the maximum available space for those tools accordingly to the memory limit on the server or to disable those features in the platform configuration. In my experience, the memory limit should be at least equal to about 1.5 times the size of the available space in those tools + 16 to 32 Mo for PHP itself.

Be aware also that memory limit will affect the maximum size of the files the platform can handle (importing exercises or SCORM package, uncompressing zip archive on the server...).

Regards,
Frederic Minne (ZeFredz) - Université catholique de Louvain - Contributor to Claroline
Image
User avatar
zefredz
Contributeurs Actif Forum
 
Posts: 1273
Joined: Thu Sep 02, 2004 1:41 pm
Location: Belgium, Louvain-la-Neuve


Return to Bugs Claroline 1.10 (previous stable version)

Who is online

Users browsing this forum: No registered users and 0 guests