diff --git a/core/includes/batch.inc b/core/includes/batch.inc index 9f521a4..c6a8578 100644 --- a/core/includes/batch.inc +++ b/core/includes/batch.inc @@ -298,11 +298,11 @@ function _batch_process() { else { $maximum_memory = ini_get('memory_limit'); } - // Limit to 80% memory use. - $max_bytes = \Drupal\Component\Utility\Bytes::toInt($maximum_memory) * 0.8; + // Limit to 60% memory use. + $max_bytes = \Drupal\Component\Utility\Bytes::toInt($maximum_memory) * 0.6; // If we are in progressive mode, break processing after 1 second or using - // 80% of available memory. + // 60% of available memory. if (Timer::read('batch_processing') > 1000 || memory_get_usage(TRUE) > $max_bytes) { // Record elapsed wall clock time. $current_set['elapsed'] = round((microtime(TRUE) - $current_set['start']) * 1000, 2);