老张博客

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 63492668 bytes) in

发布时间:2017-03-09 14:43:28热度: 8161 ℃评论数:

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

解决方法:
1.取消PHP的内存限制。
在php程序中添加 ini_set("memory_limit","-1");
2.根据自己的需要及参考本机的内存大小修改php内存限制,如改为1024M。
在php程序中添加 ini_set("memory_limit","1024M"); 或者将php.ini中相应位置改为memory_limit = 1024M;

Fatal error,Allowed memory

手机扫码访问