From ef2822f76f96985836e15c415657d0c36f20cdf7 Mon Sep 17 00:00:00 2001 From: Ori Livneh Date: Mon, 13 Jul 2015 02:19:45 -0700 Subject: [PATCH] rebuildLocalisationCache: don't limit memory usage The 1000 MB limit seems to have crept in without good reason, and crashing when crossing an arbitrary threshold like that isn't very useful. LCStoreStaticArray ends up using more than the default limit allows. Change-Id: I1d9ab743720f5a1fbe320180c1dcdb4ad03c5aa1 --- maintenance/rebuildLocalisationCache.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/maintenance/rebuildLocalisationCache.php b/maintenance/rebuildLocalisationCache.php index 47866dc047..f89877eabb 100644 --- a/maintenance/rebuildLocalisationCache.php +++ b/maintenance/rebuildLocalisationCache.php @@ -48,14 +48,6 @@ class RebuildLocalisationCache extends Maintenance { false, true ); } - public function memoryLimit() { - if ( $this->hasOption( 'memory-limit' ) ) { - return parent::memoryLimit(); - } - - return '1000M'; - } - public function finalSetup() { # This script needs to be run to build the inital l10n cache. But if # $wgLanguageCode is not 'en', it won't be able to run because there is -- 2.20.1