WP Login fatal error msg

WillyPete

New member
Oct 30, 2011
108
0
0
Boston
When I try and login to one of my sites /wp-admin I receive the following message.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /data/12/1/7/96/1170259/user/1243933/htdocs/mysitetraffic/wp-admin/includes/post.php on line 112

However my site works and I can go to it. Its not completely down, just the WP login page fails.

Any ideas?
 


Ive had this issue before. You have two options.

1. Contact your host and tell them to increase the allocated memory dump for that specific wp installation. or

2. Do it yourself if you have root access.
 
I was able to fix this by doing the following:

I added the following code to the wp-config.php file: define('WP_MEMORY_LIMIT','64M');
 
You can also solve that problem by deactivating shitload of unnecessary plugins :D

Or to fight fire with fire: Install WP-Memory-Usage plugin and see how much memory it uses.