30 * 2 ** 20) { Logging::debug('Peak memory usage: ' . (memory_get_peak_usage() / 1000000) . ' MB while accessing URI ' . $_SERVER['REQUEST_URI']); Logging::debug('Should try to keep memory footprint under 25 MB'); } } }