PDA

View Full Version : "Allowed memory exhausted"



benmason
11-15-2009, 03:11 AM
Hello all,

I have a Wordpress site at srilankacards.com

I've started getting the following error:

[15-Nov-2009 10:55:02] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home1/wotwoodc/public_html/srilankacards/wp-includes/class-simplepie.php on line 13158

It shows up in my Bluehost logs and also in my Wordpress dashboard where it limits functionality. For instance, it won't list incoming links. It shows this error instead.

Can anyone help? Many thanks,
Ben :confused:

Ferdinand
11-15-2009, 08:08 AM
Happened to me as well, luckily there is a simple solution for WP:


You can also raise PHP memory from wp-config.php file. Just add the following line after


define(’WP_MEMORY_LIMIT’, ‘64M’);

If the problem still persists, you can contact your host for further assistance.
link (http://www.webhostingdiscussion.net/wordpress-kb/wordpress-knowledge-base/wordpress-fatal-error-allowed-memory-size-of-xxx-bytes-exhausted-while-upgrading-wordpress.htm)

Ferdinand
11-15-2009, 01:55 PM
PS: We had this topic already and you will find it discussed here (http://www.bluehostforums.com/showthread.php?t=14500&highlight=memory) (with the details where exactly to place the line of code).