Eliminate all raise_memory_limit() calls
Bug #785472 reported by
François Marier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Nigel Cunningham | ||
15.04 |
Fix Released
|
Medium
|
Nigel Cunningham | ||
15.10 |
Fix Released
|
Undecided
|
Unassigned |
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.
Changed in mahara: | |
milestone: | none → 1.7.0 |
Changed in mahara: | |
milestone: | 1.7.0 → 1.8.0 |
Changed in mahara: | |
milestone: | 1.8rc1 → 1.8.0 |
Changed in mahara: | |
milestone: | 1.8.0 → 1.9.0 |
Changed in mahara: | |
milestone: | 1.9.0 → 1.10.0 |
Changed in mahara: | |
status: | Triaged → In Progress |
no longer affects: | mahara/1.10 |
tags: | added: performance |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
affects the following:
./htdocs/ export/ html/lib. php: raise_memory_ limit(' 128M'); lib/csvfile. php:raise_ memory_ limit(" 512M"); lib/cron. php:raise_ memory_ limit(' 128M'); lib/db/ upgrade. php: raise_memory_ limit(' 256M'); lib/mahara. php: raise_memory_ limit(' 128M'); lib/mahara. php:function raise_memory_limit ($newlimit) { admin/users/ uploadcsv. php:raise_ memory_ limit(" 512M"); admin/users/ bulkdownload. php:raise_ memory_ limit(" 1024M") ; admin/users/ bulkimport. php:raise_ memory_ limit(' 1024M') ;
./htdocs/
./htdocs/
./htdocs/
./htdocs/
./htdocs/
./htdocs/
./htdocs/
./htdocs/