Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in wp-admin/includes/update.php on line 49

Posted on by in Wordpress

We experienced some sort of strange error last night when we were updating our site. Suddenly we go the following error after logging in to the admin section;

Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /wp-admin/includes/update.php on line 49

After going through the files and the database, we could not find anything that we had changed to cause this. So we just did the following;

Create a php.ini file in editpage or wordpad or whatever.

Place the line “memory_limit = 128M  ; Maximum amount of memory a script may consume (128MB)” at the top

Upload the php.ini file to wp-admin

Done.

We still cant work out why that happened, and it seems there were few other people that experienced it. Anyway, it looks like it is all work now anyway, as you can see, we are posting away fine.

Share

4 Responses to “Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in wp-admin/includes/update.php on line 49”