Jump to content

Manual:$wgMaxGeneratedPPNodeCount

From mediawiki.org
Parser: $wgMaxGeneratedPPNodeCount
A complexity limit on template expansion: the maximum number of nodes generated by Preprocessor::preprocessToObj()
Introduced in version:1.20.0 (Gerrit change 23921; git #2caa7829)
Removed in version:1.35.0 (Gerrit change 567156; git #Id48effc)
Allowed values:(integer)
Default value:1000000

Details

A complexity limit on template expansion: the maximum number of nodes generated by Preprocessor::preprocessToObj()

This allows you to limit the amount of memory used by the Preprocessor_DOM node cache: testing indicates that each element uses about 160 bytes of memory on a 64-bit processor, so this default corresponds to about 155 MB.

See also