PHP allowed memory size exhausted
I have set PHP memory_limit to 512M and one of hosted sites (Wordpress) suddenly started causing 500 internal server error on
Any idea what can be wrong?
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 72 bytes) in /public_html/wp-includes/compat.php on line 123
Any idea what can be wrong?
-
There is a good chance you have a programming error on the site, causing the increased memory usage. Regardless of how much you increase the limit you will continue having the problem. You might try disabling any recent plugins, to see if that resolves the problem. 0 -
Try cross checking if the changes are updated for the respective domain by uploading a phpinfo page and checking the memory limit. At time we have also managed to fix such issues by increasing Rlimit value in apache.conf. 0 -
Hello, You can also check to see if any third-party plugins are installed on that WordPress installation. It's possible a plugin could result in excessive memory usage. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments