Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 8414921 bytes)
2012. 11. 20. 01:17ㆍLanguages/PHP
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 8414921 bytes)
php.ini 에서 설정된 최대 메모리 용량을 초과하는 작업을 실행 하였기 때문
해결 1
소스 상단에
ini_set('memory_limit',-1);
해결2
php.ini 파일 내용중
memory_limit = 값
을 늘려준다.
'Languages > PHP' 카테고리의 다른 글
php에서 memcache 사용하기 (0) | 2013.09.02 |
---|---|
Fatal error: Call to undefined function socket_create() in C:\APM_Setup\htdocs\port.php on line 16 (0) | 2013.06.07 |
Fix `ereg is deprecated` errors in PHP 5.3 (0) | 2012.11.20 |
[PHP] Assigning the return value of new by reference is deprecated (0) | 2012.11.20 |
php 서버 시간 설정 관련 오류 (strtotime,date ..) (0) | 2012.11.20 |