Manual:$wgMaxGeneratedPPNodeCount/ru

From Linux Web Expert

<translate> Parser</translate>: $wgMaxGeneratedPPNodeCount
A complexity limit on template expansion: the maximum number of nodes generated by Preprocessor::preprocessToObj()
<translate> Introduced in version:</translate>1.20.0 (Gerrit change 23921; git #2caa7829)
<translate> Removed in version:</translate>1.35.0 (Gerrit change 567156; git #Id48effc)
<translate> Allowed values:</translate>(integer)
<translate> Default value:</translate>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.

См. также