#5254 - PHP memory issues via comcode_renderer.php
0 guests and 0 members have recently viewed this.
The top 3 point earners from 14th Dec 2025 to 21st Dec 2025.
| PDStig |
|
|
|---|---|---|
| Gabri |
|
|
| sholzy |
|
|
There are no events at this time
block: main_staff_checklist (7 MB used, now at 22,872,864)
block: menu (34 MB used, now at 60,744,016)
The issue is prompted by this in the test code:
// We need to be compatible with low memory limits
if (memory_get_usage() < 30/*a little give*/ * 1024 * 1024) { // If not already in a high-memory (raised-memory) test set
@ini_set('memory_limit', '32M');
set_value('memory_limit', '32M');
}
Which is cleaned up at the end of the test code:
delete_value('memory_limit');
But if it crashes part way, the lowered setting is left there.
I want us to pass all automated and testing in a 32MB memory limit still, so I will see if I can optimise this.
main_staff_checklist: 4MB
menu: 18MB