PHP|Fatal error: Allowed memory size of {バイト数} bytes exhausted (tried to allocate {バイト数} bytes)
『Fatal error: Allowed memory size of {バイト数} bytes exhausted (tried to allocate {バイト数} bytes』が出力される原因についてメモ
スポンサーリンク
『Fatal error: Allowed memory size of {バイト数} bytes exhausted』が出力される原因
『Fatal error: Allowed memory size of {バイト数} bytes exhausted』は、今実行しているPHPが使用しているメモリサイズが、PHPの割当可能なメモリサイズを超えた場合に出力されます。
出力されているバイト数の意味としては、『Fatal error: Allowed memory size of {使用可能最大バイト数} bytes exhausted (tried to allocate {今メモリに割り当てようとしたバイト数} bytes』になります。
やもえずPHPの使用可能メモリ容量をあげたい場合は、php.iniのmemory_limitの値を変更すると良いでしょう。
更新日:2018年10月05日
作成日:2018年10月05日