<strong id="m880s"></strong>
  • <sup id="m880s"></sup>
  • <strong id="m880s"></strong>
    查看詳情

    PHP突然報內存不足的解決辦法

    PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in D:\wwwroot\shop60\wwwroot\Common\public\db_mysql.php on line 299


    PHP Fatal error:  Out of memory (allocated 16777216) (tried to allocate 6291480 bytes) in D:\wwwroot\shop60\wwwroot\Common\public\fso.php on line 116


    PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in D:\wwwroot\shop60\wwwroot\Common\public\SysFunc.php on line 4187


    之前PHP環境運行得挺正常的,最近會突然報錯,像這樣,按提示應該內存不足的意思,網上搜索了一下,好多都說可以通過修改php.ini文件的方式,將運行內存調大點,但是,感覺治標不治本,單個腳本128M的內存如果都不夠跑,那多半程序可能有點問題,登錄服務器看了一下,內存使用率不到40%,而且,之前好好的,突然就報錯內存不足,應該跟php環境沒有直接的關系。


    后來發現,清理一下C盤垃圾文件、tmp緩存,問題就修復了。



    原創內容,轉載請注明出處:網站建設,APP開發,小程序開發請找江西居道科技有限公司,http://www.restaurant-expo.com

    智能建站系統代理招商
    所屬分類:文章中心??????Time:2022-09-30 09:10:29??????人氣:796
    關閉
    13517086454
    精品国产精品久久一区免费式|亚洲第一成年网站在线观看|大香伊蕉国产综合影院|天天上天天添天天爱有声
    <strong id="m880s"></strong>
  • <sup id="m880s"></sup>
  • <strong id="m880s"></strong>