From 45d3656a4c8e169cadc5bda339296cf0aa00556f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Wed, 23 Oct 2013 22:56:50 +0200 Subject: [PATCH] Triple default $wgMaxShellMemory (raise to 300 MB) 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 | 1 + includes/DefaultSettings.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES-1.22 b/RELEASE-NOTES-1.22 index 091a04aabf..00026bcfea 100644 --- a/RELEASE-NOTES-1.22 +++ b/RELEASE-NOTES-1.22 @@ -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. diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 8215bd8d77..dbdd89e52e 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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 -- 2.20.1