PHP Fatal error: Allowed memory size of *** bytes exhausted

PHP

Fatal error: Allowed memory size of ****** bytes exhausted (tried to allocate ***** bytes) in .......

のエラー( ****にはサーバーの設定値 )が出た。


php.iniの
memory_limit = ***M


の値を超えたらしい。
ログの in ..... のところは、メモリーを超えた時点での操作なので、直接は関係ないようだ。

なので対処は、memory_limit の値を大きくするか、"リクエスト全体"で無駄な処理を省くかどちらかです。