Wed, 09 Apr 2025 07:37:13 +0000

@jrf_nl As for the implementation itself, I would probably add a:

if (function_exists('memory_reset_peak_usage')) {
memory_reset_peak_usage();
}

above this line: https://github.com/WordPress/WordPress/blob/95f9ddbe451006bf664a794913d3df05a224fbb2/wp-cron.php#L191 (as of yet untested).