• Support
  • Fatal error: Allowed memory size of 536870912 bytes exhausted

I set up a virtual machine with aapanel for a wordpress and I get the following error message:

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /www/wwwroot/x.x.com/wp-includes/plugin.php on line 441

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32768 bytes) in /www/wwwroot/x.x.com/wp-includes/pomo/streams.php on line 180

    Hello, the website's program PHP script exceeds the memory limit caused by

    1. Increase the memory_limit setting of related php
      Note that increasing the memory limit consumes server resources
    2. Optimize code: Check your code to make sure there is no unnecessary memory usage

    aaP_jcajiao