note CakePHP の場合は、app/webroot/index.php の先頭と最後に下記のコードを差し込んで確認した https://www.php.net/manual/ja/function.memory-get-usage.php https://www.php.net/manual/ja/function.memory-get-peak-usage.php //ini_set('memory_limit', '128M'); $startMemTrue = memory_get_usage(true); $startMem = memory_get_usage(false); // ... $endMemTrue = memory_get_usage(true); $peakMemTrue = memory_get_peak_usage(true); $endMem =