Manual:$wgMemoryLimit/pl

Category:MediaWiki configuration settings/pl#MemoryLimitCategory:MediaWiki configuration settings introduced in version 1.16.0/pl#MemoryLimitCategory:MediaWiki configuration settings still in use/pl#MemoryLimitCategory:Reduction variables/pl#MemoryLimit
Performance hacks and limits: $wgMemoryLimit
The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit if it's below this amount.
Wprowadzono w wersji:1.16.0 (r54339)
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:Shorthand byte notation
Domyślna wartość:'50M'

Szczegóły

The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit if it's below this amount.

Uwagi

A check in Setup.php gets run on every page view to make sure that PHP's memory limit is at least this amount. If it's lower, MediaWiki will use ini_set() to raise it if it can.

The installation script used to insert ini_set( 'memory_limit', '20M' ); in LocalSettings.php if the memory limit was below 20M. This led to problems when people raised the memory limit for their server later and found that it was mysteriously overridden.

Category:MediaWiki configuration settings/pl Category:MediaWiki configuration settings introduced in version 1.16.0/pl Category:MediaWiki configuration settings still in use/pl Category:Reduction variables/pl