开发者

PHP Memory Error(No File Name specified)

开发者 https://www.devze.com 2023-04-07 20:13 出处:网络
I am getting php error like this: PHP Fatal error:Allowed memory size of 33554432 bytes exhausted (tried to allocate 7077994 bytes) in Unknown on line 0, refer开发者_JAVA百科er:REFERER

I am getting php error like this:

PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7077994 bytes) in Unknown on line 0, refer开发者_JAVA百科er:REFERER

I have checked my code there is no infinite loop or code which will take such high memory.

I concern is why it is not showing the error line where it has happened.What is the meaning of Unknown in this case..

Thanks in Advance..


Do you have xdebug installed? I would try to increment memory_limit and profile your script with xdebug. It produces a human-readable text file. So you can read where and how much memory is used.


memory_limit = 128M

increase it in your php.ini file.

Or visit the link below

memory limit

0

精彩评论

暂无评论...
验证码 换一张
取 消