[MediaWiki-l] America/New_York] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted

Rob Kam robkam at ymail.com
Tue Nov 11 15:02:03 UTC 2014


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




More information about the MediaWiki-l mailing list