PHP memory overflow problem Fatalerror: Outofmemory

Source: Internet
Author: User
PHP memory overflow Fatalerror: OutofmemoryFatalerror: Outofmemory (allocated786432) (memory) inE: \ wwwroot \ lunannews \ ded help: PHP memory overflow problem 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.