• Development

    Increasing Memory for Specific Paths in Drupal 8

    Most of the examples I see for Drupal 8 are for single-path memory limit increases.

    The examples for Drupal 7 often follow the pattern below.

    Here’s a D8 version that supports multiple paths.

    Place this in your settings.php (or site/environment-specific settings.php), then update the paths accordingly.