Andre Bonhote wrote:
I have noticed that it doesn't only fail with the
upload page, but also with
pages like Special:Allmessages. I have checked my php.ini and verified that
it's being loaded (phpinfo()). I have set the memory limit to 32M, which
should be enough.
[snip]
Apparently, 20M is not enough. I have set it to 32M
and now it works.
Any idea how I could save some memory?
Note that recent versions of PHP (5.1 or 5.2?) have changed how they
account memory in a way which tends to inflate the numbers (or rather,
the old counts were too small), so you're more likely to hit problems
with a smaller limit than you used it. I'll go ahead and raise the
default "bumped" amount...
If your MediaWiki installation is resizing image thumbnails using the
internal GD libraries, it's also more likely to hit limits, since the
full image gets loaded into PHP-accounted memory. Try installing
ImageMagick and switching to it if possible (or just keep the memory
limit higher :)
-- brion