Triple default $wgMaxShellMemory (raise to 300 MB)
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 23 Oct 2013 20:56:50 +0000 (22:56 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 24 Oct 2013 23:16:53 +0000 (01:16 +0200)
100 MB is no longer sufficient.

That value was chosen back in 2006 (r14795); the world has largely
moved on to 64-bit programs since then, and applications such as
ImageMagick seem to use 16-bit precision for each image channel.
It's not enough to scale regular large-ish images on default system
settings anymore.

Bug: 34241
Change-Id: I66bbe12925689f9273f3b5fb29adc8c15c828c70

RELEASE-NOTES-1.22
includes/DefaultSettings.php

index 091a04a..00026bc 100644 (file)
@@ -64,6 +64,7 @@ production.
 * (bug 54597) $wgBlockOpenProxies, $wgProxyPorts, $wgProxyScriptPath, and
   $wgProxyMemcExpiry have been removed, along with the open proxy scanner
   script they were added for.
+* Default value of $wgMaxShellMemory has been tripled (it's now 300 MB).
 
 === New features in 1.22 ===
 * (bug 44525) mediawiki.jqueryMsg can now parse (whitelisted) HTML elements and attributes.
index 8215bd8..dbdd89e 100644 (file)
@@ -6629,7 +6629,7 @@ $wgCrossSiteAJAXdomainExceptions = array();
 /**
  * Maximum amount of virtual memory available to shell processes under linux, in KB.
  */
-$wgMaxShellMemory = 102400;
+$wgMaxShellMemory = 307200;
 
 /**
  * Maximum file size created by shell processes under linux, in KB