Last modified: 2012-08-02 22:33:09 UTC
twn:/www/sandwiki/extensions/Translate (master)$ php ../../maintenance/runJobs.php --memory-limit 500M 2012-08-02 11:05:58 MessageIndexRebuildJob Main_Page STARTING Fatal error: Allowed memory size of 157286400 bytes exhausted (tried to allocate 2097169 bytes) in /www/sandwiki/extensions/Translate/utils/MessageIndex.php on line 208 twn:/www/sandwiki/extensions/Translate (master)$ php ../../maintenance/runJobs.php --memory-limit=max 2012-08-02 11:06:36 MessageIndexRebuildJob Main_Page STARTING Fatal error: Allowed memory size of 157286400 bytes exhausted (tried to allocate 2097169 bytes) in /www/sandwiki/extensions/Translate/utils/MessageIndex.php on line 208 twn:/www/sandwiki/extensions/Translate (master)$ php ../../maintenance/runJobs.php --memory-limit=max 2012-08-02 11:07:14 MessageIndexRebuildJob Main_Page STARTING Fatal error: Allowed memory size of 157286400 bytes exhausted (tried to allocate 2097169 bytes) in /www/sandwiki/extensions/Translate/utils/MessageIndex.php on line 208 twn:/www/sandwiki/extensions/Translate (master)$ php ../../maintenance/runJobs.php --memory-limit=20M 2012-08-02 11:07:33 MessageIndexRebuildJob Main_Page STARTING Fatal error: Allowed memory size of 157286400 bytes exhausted (tried to allocate 2097169 bytes) in /www/sandwiki/extensions/Translate/utils/MessageIndex.php on line 208 twn:/www/sandwiki/extensions/Translate (master)$ php ../../maintenance/runJobs.php --memory-limit=200 2012-08-02 11:08:00 MessageIndexRebuildJob Main_Page STARTING Fatal error: Allowed memory size of 157286400 bytes exhausted (tried to allocate 2097169 bytes) in /www/sandwiki/extensions/Translate/utils/MessageIndex.php on line 208 twn:/www/sandwiki/extensions/Translate (master)$ php ../../maintenance/runJobs.php --memory-limit 200 2012-08-02 11:08:18 MessageIndexRebuildJob Main_Page STARTING Fatal error: Allowed memory size of 157286400 bytes exhausted (tried to allocate 2097169 bytes) in /www/sandwiki/extensions/Translate/utils/MessageIndex.php on line 208
public function memoryLimit() { // Don't eat all memory on the machine if we get a bad job. return "150M"; }
(In reply to comment #1) > public function memoryLimit() { > // Don't eat all memory on the machine if we get a bad job. > return "150M"; > } It should probably only do that if memory-limit has not already been specified.
(In reply to comment #2) > (In reply to comment #1) > > public function memoryLimit() { > > // Don't eat all memory on the machine if we get a bad job. > > return "150M"; > > } > > It should probably only do that if memory-limit has not already been specified. Which is what I was doing in https://gerrit.wikimedia.org/r/17473 ;)