Fatal Error Allowed memory size experience
Fatal Error Allowed memory size bytes exhausted WordPress, this terrible experience I have received some days ago, while I am setting a new blog, while I wanted to install a plugin.
I am not sure if you have ever seen this message, but in case, you will see it one day, you will not be surprised, just like I was.
The fatal error allowed memory message will look like this following:
Fatal error: Allowed memory size of 33736432 bytes exhausted (tried to allocate 79384 bytes) in /home/yourname/public_html/wp-includes/pluggable.php on line 342
Fatal Error Allowed memory size bytes exhausted — The cause?
There are so many reasons why this Fatal Error Allowed memory size bytes exhausted thing can happen in your blog as I also personally experienced myself as mentioned in the first paragraph above.
But basically is because some of PHP made scripts in your blog eats so much memory in your web hosting that the PHP memory is not enough anymore.
What are this PHP scripts in my blog? Plugins and theme. Especially the plugins. There are so many plugins that can eat up the memory resources, and this can make this Fatal Error Allowed memory size bytes exhausted error message appear.
There are many ways how to fix it in the following simple steps below, but first of all, I suggest you not to be panic.
Well, I was also a bit confused and “angry” because I am really not a person who can “wait” by nature. However thankfully, I fixed it in a few minutes after doing Google search.
This is why I want to share what I did if in case, one day or sometime soon, you will have similar problems, although I don’t hope so.
But we are using wordpress 🙂 a few problems will come and we have to fix it, although it needs patience and a whole of nerves sometimes.
I really hope nothing will happen with your blog that related with this issue, but none can know. Better be prepared than be panic.
Fatal Error Allowed memory size bytes exhausted WordPress — How to fix it?
First of all, I wanted to disable my plugins, but I thought, those are very important plugins, and I want to use them all.
I use those plugins in all of blogs, and so far, they work well with my blogs, without any single errors a bit.
The host was VPS, and of course it was new for me, because so far, I am using shared hostings. I planned to move this blog to VPS once I am ready and familiar with VPS.
So before I contacted my customer support, I googled a solution, and found this wordpress forum thread.
I have only tried one method, which is inserting this line of code in my wp-config.php
Here is the screenshot in wp-config.php where I inserted the code, in case you want to know in which line.. (we are non-savvy wp users!)
And result..viola, Fatal Error Allowed memory size bytes exhausted WordPress error is gone, I hope this post will make you prepared!