PHP memory overflow Fatalerror: OutofmemoryFatalerror: Outofmemory (allocated786432) (triedtoallocate1572864bytes) inE: released in the background
PHP memory overflow Fatal error: Out of memory
Fatal error: Out of memory (allocated 786432) (tried to allocate 1572864 bytes) in E: \ wwwroot \ lunannews \ dede \ archives_do.php on line 997
The background published an article prompting the DEDE5.6 program, which contains about 5% articles with few thousands of traffic, the CPU usage in the task manager is less than, and the PF usage is about 1 GB.
The server is xeon E5606 4G memory
I used to change the memory_limit = 4000 M in PHP. INI to 3000 M a few months ago. now, this situation has changed to M.
The traffic is small and the content is small. This is not enough to eat memory.
------ Solution --------------------
What is this php file?
Is each time (or frequently )?
Add memory_get_usage to the file and paste out the unreasonable part of the memory.
Focus on checking cyclic parts