To elaborate, if you are receiving that error, PHP thinks your memory limit is 40MB. Your host might have a separate php.ini file for the PHP CLI (as opposed to when it's run through the web server).
On Wed, Nov 12, 2014 at 8:44 AM, Rob Kam <rob...@ymail.com> wrote: >> and "memory_limit = 195M" > > -----Original Message----- > From: mediawiki-l-boun...@lists.wikimedia.org > [mailto:mediawiki-l-boun...@lists.wikimedia.org] On Behalf Of John > Sent: 11 November 2014 17:15 > To: MediaWiki announcements and site admin list > Subject: Re: [MediaWiki-l] America/New_York] PHP Fatal error: Allowed memory > size of 41943040 bytes exhausted > > Increase your php's memory limit > > On Tuesday, November 11, 2014, Rob Kam <rob...@ymail.com> wrote: > >> The wiki is on a shared host, php.ini has "date.timezone = > "Europe/London"" >> and "memory_limit = 195M". All pages in the wiki , including talk >> pages, redirects, etc. is 593. MediaWiki is version 1.23.6 and PHP 5.3.28. >> >> Doing "php maintenance/refreshLinks.php --e 50", is okay but with >> "maintenance/refreshLinks.php -- 50 --e 51": >> Refreshing redirects table. >> Starting from page_id 50 of 1220. >> 100 >> 200 >> 300 >> 400 >> 500 >> 600 >> 700 >> 800 >> 900 >> 1000 >> 1100 >> 1200 >> Refreshing links tables. >> Starting from page_id 50 of 1220. >> Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to >> allocate 11216 bytes) in ... includes/parser/Parser.php on line 2163 >> >> In the error log is "America/New_York] PHP Fatal error: Allowed >> memory size of 41943040 bytes exhausted (tried to allocate 11216 >> bytes) in ... >> includes/parser/Parser.php on line 2163" >> The end varies as I've tried different things, e.g.: >> Parser.php on line 409 >> Preprocessor_DOM.php on line 244 >> SqlBagOStuff.php on line 596 >> >> When I try to view the wiki page by appending /w/index.php?curid=50 or >> 51 I get "Bad title: The requested page title was invalid, empty, or >> an incorrectly linked inter-language or inter-wiki title. It may >> contain one or more characters that cannot be used in titles." >> >> How do I get refreshLinks.php to work as it should? Also less >> importantly is there a way for it to echo the page IDs at which it >> fails? >> >> Rob >> >> >> _______________________________________________ >> MediaWiki-l mailing list >> To unsubscribe, go to: >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l >> > _______________________________________________ > MediaWiki-l mailing list > To unsubscribe, go to: > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > > _______________________________________________ > MediaWiki-l mailing list > To unsubscribe, go to: > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l