action_scheduler_memory_exceeded

action_scheduler_memory_exceeded

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('action_scheduler_memory_exceeded') is found 1 times:

  • /packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 347
    		$memory_limit    = $this->get_memory_limit() * 0.90;
    		$current_memory  = memory_get_usage( true );
    		$memory_exceeded = $current_memory >= $memory_limit;
    
    		return apply_filters( 'action_scheduler_memory_exceeded', $memory_exceeded, $this );
    	}
    
    	/**
    	 * See if the batch limits have been exceeded, which is when memory usage is almost at
    	 * the maximum limit, or the time to process more actions will exceed the max time limit.
    	 *