WordPress 3.3 was released and there seems to be problem allocating memory and this is mainly caused by wordpress hitting PHP memory limit while updating wordpress or uploading media file and adding or activating plugins.

The error looks something like these

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /home/XXXwebsite/public_html/wp-admin/media.php“.

This problem does not necessarily happen on all servers depending on what your host has allocated for memory limit and there are few ways you can increase the limit and you can try any of method below.

1. Try adding this line to your wp-config.php file:
define(‘WP_MEMORY_LIMIT’, ’128M’);

If this does not work you will need log in ftp client or server and find php.ini file in root and edit the file.

2. If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 32M try 128M:
memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)

3. If you don’t have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 128M

If none of above works then may be your host has restricted you to increase the memory limit then you will need to contact your host and let them know of the problem before you make any other changes to your wordpress install.

As always your feedback and comments are welcome

Avatar of Govindji Patel

About

I am Author/Publisher WordPress Coach and Consultant who enjoys writing tutorials and helping wordpress users build better WordPress website/blog.

Related Posts

  • Hey Govindji,
    I believe this plugin is a fast and easiest solution of the memory issue: http://wordpress.org/extend/plugins/change-memory-limit/

    Moderated as they can always use install programs in their host account.
    Cheers,
    FreeWPInstaller.com Team

  • Thank you for the plugin link as it is on wordpress extend I have edited the 2nd part as they can use install program on host account to do the same.

  • Hi All,
    I am facing problem installing WP version 3.3 in Linux Web Host. The web host’s PHPMyAdmin interface clearly shows that it runs MYSQL version 5.0 (or slightly above version). I have checked this. But still i am getting this Error as below:
    “You cannot install because WordPress 3.3 requires MySQL version 5.0 or higher. You are running version 4.0.27.”

    Initially i thought there might be an error uploading WordPress core files so i deleted all and re-uploaded but result is same.

    Can any body helps me. Any suggestion..?

    Best regards.

  • Mselle_denis

    Thank you alot more!!!!!!!!
     

blog comments powered by Disqus
Premium wordpress theme
Skype Status
Need Help with Wordpress Chat with me - Govindji Patel: My status is Online
» Get Skype, call free! If Offline please leave Message
Become A Fan
Free Report

WordPress Optimization Secrets

Get Your Blog To Rank Higher

Register and Download Free Report

Twenty Eleven Child Theme

Upgrade and get set of 35 videos on

how to create and customize child theme

Buy Me Coffee
Donation



Other Amount:



I appreciate a donation if you find my tutorials helpfull :



Your privacy will never be compromised or shared.
Congratulations

Thank you for Subscribing Please check your email for a confirmation email