PHP群:95885625 Hbuilder+MUI群:81989597 站长QQ:634381967
    您现在的位置: 首页 > 开发编程 > PHP教程 > 正文

    Allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes)

    作者:admin来源:网络浏览:时间:2020-09-30 00:07:50我要评论
    导读:Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes) 错误解决方法。这个错...
    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes)   错误解决方法。

    这个错误一般发生在PHP过大的内存需求,已经超出了系统的设定,默认是8MB,不要担心,这是一个很小的问题,很容易修正。
    你也可以通过修改php.ini的相关选项,进行修正。(推荐)
     
    memory_limit = 12M
     
    注意:良好的编码不会发生这个的报错。然而,有些在频繁调用的应用(例如导入和处理一个大数据文件)也可能导致这个问题出现。
     
    更改完配置文件一定要重启下服务!
    转载请注明(B5教程网)原文链接:https://b5.mxunkeji.com/content-10-479-1.html
    相关热词搜索: dede 织梦cms