Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By 4lvin on
In Drupal 7, i have found that CLEAR CACHE (on the Web Panel) is using extreme high Memory resource. Giant projects like mine, needs over 350MB to that process.
- Then i set 400MB inside php.ini
So as far as i have investigated, i have found that having high memory limit (Globally) is totally the damage to the overall Performance because every single script is using that limit in memory.
- Then i found, we can use separate/runtime setting as
ini_set('memory_limit',____)
only for the specific scripts.
So my question here is:
- Why Drupal by default is NOT HAVING this ini_set('memory_limit',____) separately in Cache Clearing Script (as hardcoded or in Panel Setting, etc) ?