Page MenuHomePhabricator

Lua error: not enough memory.
Closed, InvalidPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Open Google Chrome page on Wikipedia (only page this is happening for now, apparently)
  • Error seems to be intermittent; it's there on some purges, it's not on some.

What happens?:
"Lua error: not enough memory" for almost all module-dependent templates.

Screen Shot 2024-01-05 at 07.59.47.png (1×2 px, 269 KB)

What should have happened instead?:
No errors on the page.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
Filing this in case it's a THURSDAY situation.

NewPP page report:

NewPP limit report
Parsed by mw2367
Cached time: 20240104235450
Cache expiry: 2592000
Reduced expiry: false
Complications: [vary‐revision‐sha1, show‐toc]
CPU time usage: 2.213 seconds
Real time usage: 2.438 seconds
Preprocessor visited node count: 15303/1000000
Post‐expand include size: 187434/2097152 bytes
Template argument size: 12766/2097152 bytes
Highest expansion depth: 27/100
Expensive parser function count: 16/500
Unstrip recursion depth: 1/20
Unstrip post‐expand size: 161316/5000000 bytes
Lua time usage: 1.410/10.000 seconds
Lua memory usage: 52428796/52428800 bytes
Lua Profile:
    recursiveClone <mwInit.lua:41>                                   560 ms       38.9%
    MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::getEntity      320 ms       22.2%
    ?                                                                160 ms       11.1%
    MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::callParserFunction       80 ms        5.6%
    (for generator)                                                   80 ms        5.6%
    type                                                              60 ms        4.2%
    MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::entityExists       60 ms        4.2%
    MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::getSiteLinkPageName       40 ms        2.8%
    MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::test       20 ms        1.4%
    MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::interwikiMap       20 ms        1.4%
    [others]                                                          40 ms        2.8%
Number of Wikibase entities loaded: 0/400

Template parse report

Transclusion expansion time report (%,ms,calls,template)
128.63% 2882.171      3 Template:Infobox
100.00% 2240.735      1 -total
 65.70% 1472.186      1 Template:Infobox_software
 64.48% 1444.734      3 Template:Multiple_releases
 63.21% 1416.315      1 Template:Infobox_software/stacked
 61.44% 1376.795     14 Template:Wikidata
 42.28%  947.414      1 Template:Latest_stable_software_release/Google_Chrome
 23.25%  521.015     13 Template:Start_date_and_age
 20.42%  457.646      1 Template:Latest_preview_software_release/Google_Chrome
 13.40%  300.285      2 Template:Reflist

Cache report

Saved in parser cache with key enwiki:pcache:idhash:19133401-0!canonical and timestamp 20240104235448 and revision id 1193660528. Rendering was triggered because: page-view

Event Timeline

The error is intermittent for me, but it doesn't seem to be due to purging (which doesn't make a difference at all).

Caused by on-wiki changes, namely a flood of new version numbers on the Wikidata item for the page. At least it wasn't anything more serious.