Quantcast
Channel: Question and Answer » wpdb
Viewing all articles
Browse latest Browse all 44

I am getting allowed memory exhausted in wp-db.php

$
0
0

Today I checked my error_log and found these errors in it.


PHP Fatal error: Allowed memory size of 176160768 bytes exhausted (tried to allocate 5290845 bytes) in /home/xxxxxx/public_html/wp-includes/wp-db.php on line 1172

PHP Fatal error: Allowed memory size of 176160768 bytes exhausted (tried to allocate 9964015 bytes) in /home/xxxxxx/public_html/wp-includes/wp-db.php on line 1094

PHP Fatal error: Allowed memory size of 176160768 bytes exhausted (tried to allocate 9964015 bytes) in /home/xxxxxx/public_html/wp-includes/wp-db.php on line 1094


I have increased the php memory limit via cpanel php settings. But my site is not a very active one. It is only receiving 2000 pageviews daily. I am on shared hosting with 1GB of physical RAM and 4GB of virtual RAM.
Sometimes my site gives 508 resource limit reached error.
I have tried change the host but still same problem.


Viewing all articles
Browse latest Browse all 44

Trending Articles