Last modified: 2014-11-18 18:07:07 UTC
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 181066 bytes) in /home/jay/public_html/phase3/includes/specials/SpecialAllmessages.php on line 208 Looks like the 20M or so isn't enough.
I think the default memory limit should be increased to something around 50-100 MB. What do you lot think?
Hopefully a better summary
Created attachment 5462 [details] proposed patch I propose a 50M memory limit as a default. Patch included.
Done in r45361
This still sucks horribly; it really should be done at run time, not at install time.
Reverting for now in r45475 The logic is wrong and will fail to raise the limit to the new limit if the server's default is between 20 and 50. Further, the whole logic is crappy; we should be doing the check at runtime rather than at install time, since the server's settings may change after we install.
*** Bug 19775 has been marked as a duplicate of this bug. ***
Created attachment 6350 [details] Adds a run-time check Checks in Setup.php that the memory limit is at least 50M and raises it otherwise. The installer will still raise the memory limit for its own purposes but will not write anything to LocalSettings.php.
*** Bug 19663 has been marked as a duplicate of this bug. ***
Patch looks ok by me. I'll commit this evening.
Created attachment 6409 [details] Now with a global variable, $wgMemoryLimit, and a global function for parsing PHP's memory limits
Patch applied in r54339
Created attachment 6417 [details] Fix the function to handle input better Given patch will actually lower memory usage in cases where somebody uses the other shorthand forms.
Done in r54356.