How to Fix WordPress – Fatal Error : Allowed Memory Size Exhausted

While installing & activating any plugin are you facing any issues like these below. I already got this issue and found a solution. I'm using dedicated server, so increased PHP memory limit to 512MB. Still, the issue is not resolved. (Allowed Memory Size Exhausted)

Don't worry about increasing PHP memory_limit on the server. First of all find out, what is causing the issue. It may happen because one or more plugins using a lot of memory. Even if you want to increase, you can follow these below guides.

Fatal error: Allowed memory size of 268435456 bytes exhausted 
(tried to allocate 83 bytes) in /home/xxx/public_html/
wp-includes/wp-db.php on line 2352
How to Fix WordPress Allowed Memory Limit

I thought some plugins are taking too much memory. So I installed performance testing plugins. Below is the report from the test.​

WordPress Memory Exhausted Error – Increase PHP Memory

How to Fix WordPress Allowed Memory Limit

After getting the result I came to know that the problem is because of Calculated Fields Form plugin. Deactivated that plugin and scanned again, you can find results below.

How to Fix WordPress Allowed Memory Limit

​There is a lot of difference after deactivating that specific plugin. You can find out your issues too using this technique.

​After that I am able activate the plugin without any php memory limit issues.

As you can see, even I tried to increase the PHP memory_limit to 512MB. I'm not able to solve the problem. I'm on a dedicated server so that I can easily increase the limit.

If you are on shared hosting or any other type of hosting service, without access to php.ini or not able to increase the limits. Don't Panic, First find out what's the problem, then you can resolve it without increasing any limits. Even I'm using dedicated hosting, increasing the limits not helped me.

If you are still facing any problem, let me know through comment form below.

Vivek Vengala

Vivek Vengala is a Online Entrepreneur, Web Developer from Hyderabad India.

Click Here to Leave a Comment Below 2 comments

Is this applicable to any kind of fatal error.

    Vivek Vengala

    Hi Bikash,

    Yes, you can fix any kind of fatal error problems in WordPress using this technique.


Leave a Reply: