affects the following:
./htdocs/export/html/lib.php: raise_memory_limit('128M');
./htdocs/lib/csvfile.php:raise_memory_limit("512M");
./htdocs/lib/cron.php:raise_memory_limit('128M');
./htdocs/lib/db/upgrade.php: raise_memory_limit('256M');
./htdocs/lib/mahara.php: raise_memory_limit('128M');
./htdocs/lib/mahara.php:function raise_memory_limit ($newlimit) {
./htdocs/admin/users/uploadcsv.php:raise_memory_limit("512M");
./htdocs/admin/users/bulkdownload.php:raise_memory_limit("1024M");
./htdocs/admin/users/bulkimport.php:raise_memory_limit('1024M');
--
You received this bug notification because you are a member of Mahara
Committers, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/785472
Title:
Eliminate all raise_memory_limit() calls
Status in Mahara ePortfolio:
Triaged
Bug description:
There are very few places in Mahara were we raise PHP's memory limit,
but it is bad practice since that memory may not be reclaimed by
Apache until that child process is terminated.
Unless we are confident that a particular operation is impossible to
do without raising the memory limit, we should rewrite code which
fails to work within 32 MB of memory.
_______________________________________________
Mailing list: https://launchpad.net/~mahara-core
Post to : [email protected]
Unsubscribe : https://launchpad.net/~mahara-core
More help : https://help.launchpad.net/ListHelp