Using ini_set(“memory_limit”, “-1”) and still out of memory

前端 未结 1 1434
别跟我提以往
别跟我提以往 2020-12-07 00:31

I\'m processing an old database php array to a new database. The data .php files are in total around 220 MB large.

I\'ve inserted these lines in the script so that i

相关标签:
1条回答
  • 2020-12-07 00:53

    Memory limitation comes from the OS, not from PHP itself.

    Your script allocated 800MB and is trying to allocate further 500MB

    Try to run the script on 64bit OS with 64 bit PHP.

    0 讨论(0)
提交回复
热议问题