If your a blogger and using wordpress on a daily basis you may have run into a virtual brick wall when you saw
“Fatal Error : Memory Size Exhausted”
… or some variation of it!
This is generally caused by you host limiting the default memory usage for php sites. If you have several plugins running, you may get errors when trying to access a widget or in the case of using the ‘Next Gen Gallery’ you may have thumbnail fail to update or display properly.
Increasing the php memory limit will fix nextgen gallery issues!
- Time out errors when accessing widgets
- Errors generating thumbnails for galleries
- Failure to upload images
- Failure to install plug ins
In your .htaccess file (you can access it via ftp) add the following code above everything else:
php_value memory_limit 64M
If you can’t get to your .htaccess file, open up your wp-config.php file (usually on the root of your wordress site) and add the following code as the first line:
[sws_divider_padding]Some hosting companies will also limit the file upload sizes to 2mb. Generally this is not an issue for most simple blog sites. But when you have a client who needs to upload videos or floor plans averaging around 8mb, this can be an problem!
Rather than explaining how to ftp to your client, add the following code to your .htacces file above everything else:
php_value upload_max_filesize 64M
Now you should be able to work just fine. If you need more memory just increase the numbers above. All hosts have a limit so be aware that increasing the numbers will not guarantee more memory!