[Mediawiki-l] Does 1.14 need more memory? Or a exif problem?

Alejandro Exojo alex at disperso.net
Sun Apr 19 19:14:02 UTC 2009


Hi.

After upgrading to 1.14, I found a problem when previewing a page. The server 
reported this:

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to 
allocate 491520 bytes) in /var/www/alex/disperso.net/includes/Exif.php on 
line 1020

I fixed it changing this line in LocalSettings.php:

# If PHP's memory limit is very low, some operations may fail.
ini_set( 'memory_limit', '30M' );

It was set to 20M first, so I just bumped the number. Is this expected 
behaviour, or am I having a problem with my setup?

The page in question is really simple (e.g. 
http://disperso.net/index.php?title=Albert&action=edit), and larger pages 
without images don't have the problem, so I guess it can be a problem with 
the program that MediaWiki is invoking.

However, I have to note one thing: I was trying to change the text in that 
page and just the text, so MediaWiki should not invoke any image manipulation 
program, because the image should be already scaled and on the cache. Am I 
right?

Thanks in advance.
Cheers.

-- 
Alex



More information about the MediaWiki-l mailing list