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
精彩评论