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
Discover how you can blog like othe successfull bloggers with simple step by step Techniques.
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.