constant DRUPAL_MINIMUM_PHP_MEMORY_LIMIT in Drupal 9
Same name and namespace in other branches
- 8 core/includes/bootstrap.inc \DRUPAL_MINIMUM_PHP_MEMORY_LIMIT
- 6 modules/system/system.module \DRUPAL_MINIMUM_PHP_MEMORY_LIMIT
- 7 includes/bootstrap.inc \DRUPAL_MINIMUM_PHP_MEMORY_LIMIT
Minimum recommended value of PHP memory_limit.
64M was chosen as a minimum requirement in order to allow for additional contributed modules to be installed prior to hitting the limit. However, 40M is the target for the Standard installation profile.
Deprecated
in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal::MINIMUM_PHP_MEMORY_LIMIT instead.
See also
https://www.drupal.org/node/2909361
File
- core/
includes/ bootstrap.inc, line 78 - Functions that need to be loaded on every Drupal request.
Code
const DRUPAL_MINIMUM_PHP_MEMORY_LIMIT = \Drupal::MINIMUM_PHP_MEMORY_LIMIT;