You are here

constant DRUPAL_MINIMUM_PHP_MEMORY_LIMIT in Drupal 8

Same name and namespace in other branches
  1. 6 modules/system/system.module \DRUPAL_MINIMUM_PHP_MEMORY_LIMIT
  2. 7 includes/bootstrap.inc \DRUPAL_MINIMUM_PHP_MEMORY_LIMIT
  3. 9 core/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.

@todo Move this to an appropriate autoloadable class. See https://www.drupal.org/project/drupal/issues/2908079

1 use of DRUPAL_MINIMUM_PHP_MEMORY_LIMIT
system_requirements in core/modules/system/system.install
Implements hook_requirements().

File

core/includes/bootstrap.inc, line 75
Functions that need to be loaded on every Drupal request.

Code

const DRUPAL_MINIMUM_PHP_MEMORY_LIMIT = '64M';