On Sun, Apr 19, 2009 at 3:14 PM, Alejandro Exojo <[email protected]> wrote:

> 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
>

This is not an abnormal amount of memory for MediaWiki to consume.
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to