WordPress Quick Tips: Fatal Error Allowed Memory Size When Update
By Julia Khusainova • April 4, 2010 • Posted in Blogging, Development, Tutorials, Wordpress • 1 Comment »Recently WordPress 9.2.2 were released and I decided to update my blog with latest version. Bloggers should follow the latest version for the CMS and plugins to make sure they are using all features WordPress developers have created for them.
I came across the Fatal error with not enough memory size:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2516357 bytes)
You might get the similar error. The problem is when the Wordpess is trying to update itself it faces a memory barrier. The memory is allocated automatically and you should increase the memory limit to allow WordPress to use more memory for downloading. I want to share tips on how to overcome that issue with my readers:
1. The easiest way is to add
define(’WP_MEMORY_LIMIT’, ‘256M’);
to your wp-config.php file. This file is located in your WordPress root directory i.e. public_html.
2. If you have an idea of what php.ini is change the line
memory_limit = 256M; Maximum amount of memory a script may consume (64MB)
The php.ini file can be found in your WordPress root directory i.e. public_html.
3. If neither of the above is working for you try to disable plugins in admin panel. To do that go to Plugins, select plugin you want to disable and click Deactivate.
One Response So Far
Trackback
- Tweets that mention Wordpress Quick Tips: Fatal Error Allowed Memory Size When Update | Julia Khusainova's Blog -- Topsy.com




























RSS Feed
Email Feed