I get a "out of memory" error in php. I know this can be fixed with ini_set ("memory_limit", "64M"), but I do not want to do this because the large memory for the script is abnormal. I have several reports that are so huge that I really need this memory, but usually they don’t.
The problem is that I don’t even know which script consumes so much memory, and not a single user (so far) has reported an error. I know this only happens due to log_errors (set to true) and error_log (set to a very noticeable file on my desktop), but it does not tell which script is the culprit.
Any idea on how to know this?
Mister x
source
share