Fatal error: Out of memory
-
I am getting this error while activating plugins after installing them .
Fatal error: Out of memory (allocated 67895296) (tried to allocate 8192 bytes) in /home/…./public_html/…../wp-includes/functions.php on line 4168
What does it mean?Does any body have Idea that about this issue?
-
It just means that your memory allocation is not high enough to accomplish the specific task. Since you’re just activating plugins, you won’t have to worry about it too often.
Here are four ways to increase PHP’s memory allocation:
1. If you have access to your PHP.ini file, change the line in PHP.ini If your line shows 32M try 64M: memory_limit = 64M ; Maximum amount of memory a script may consume (64MB) 2. If you don't have access to PHP.ini try adding this to an .htaccess file: php_value memory_limit 64M 3. Try adding this line to your wp-config.php file: Increasing memory allocated to PHP define('WP_MEMORY_LIMIT', '64M'); 4. Talk to your host.
thanks !
I will do it .But I have a doubt .As It is clear as I am using a lot memory .Does it affects my shared hosting packaged? I mean that as the shared hosting have limitations regarding resource …do I get problem from my host?Most decent shared hosting providers allow you to temporarily increase PHP’s memory allocation via one of the above methods, and chances are they won’t even notice. If you make a habit out of it, they’ll probably start to notice. Just make sure that you remove the line after you’ve done what you need to do.
I have opened .htaccess file and added this line
php_value memory_limit 64M
under
#RewriteRule . index.php [L]
It looks like :
#RewriteRule . index.php [L]
php_value memory_limit 64MLater I have added
define(‘WP_MEMORY_LIMIT’, ’64M’);
to wp-config.php file .
Could you let me know What to do nextYou only need to do one of the four, so start with #1. If that doesn’t work, continue on to the next until requesting a temporary memory increase from your hosting provider is the only option left.
I have tried the steps you given except the first one.
The second one giving me an error.So I have tried the third step.But there is no change
I asked the same thing to my host’s representative and A rep of my host replied thisThe shared servers are already set to memory_limit = 64M
That is hardcoded for that value.
http://support.hostgator.com/articles/cpanel/php-settings-that-cannot-be-changedThank you !
That should be a high enough limit. Do you know specifically which plugin is causing the error upon activation?
Almost every plugin .I am getting the same message even when trying to access or enter into plugins page.
That definitely shouldn’t happen, especially on a 64mb limit. Try manually resetting your plugins, in case regular deactivation wasn’t doing the job, then start activating the plugins individually (don’t activate in bulk).
I renamed some plugins what i think unnecessary .So they were deactivated and now I could able to view and access plugins sections .
I think the problem was with a plugin which I installed to day morning .That is Flutter .
Flutter is not ready yet. must create the following folders (and must be writable):
/home/asshu/public_html/yyou.in/wp-content/plugins/fresh-page/thirdparty/phpthumb/cache/
/home/asshu/public_html/yyou.in/wp-content/files_flutter/
/home/asshu/public_html/yyou.in/wp-content/files_flutter/modules/I have installed flutter and proceed to install other plugins wihtout installing these files which required by flutter .Is that the cause ?
It’s possible that the plugin itself could be causing the problem, as it’s only rated as compatible to WP 2.8 and it has been discontinued. See this for more info:
I am getting the problem again when installing new plugins .(I have already deleted flutter .)
Fatal error: Out of memory (allocated 67633152) (tried to allocate 8192 bytes) in /home/…/public_html/…/wp-includes/functions.php on line 4168Update
It started working when I deactivated some more plugins(renaming plugins.Thus they deactivate automatically )You’re hitting the limits of your hosting account. Or, you’re installing & using too many plugins for what you have.
I have contacted hostgaor(My host)’s support team and they said that it is not the problem with resource usage.
Now I am having a new error(
Fatal error: Out of memory (allocated 65798144) (tried to allocate 2458400 bytes) in /home/…/public_html/…/wp-includes/class-http.php on line 1402
wp-includes/class-http.php on line 1402
- The topic ‘Fatal error: Out of memory’ is closed to new replies.