FIXING! WordPress Memory Limit Issue – 4 Quick Fixes

FIXING! WordPress Memory Limit Issue - 4 Quick Fixes |

WordPress Memory Limit Issue

Let me guess,
Your WordPress site isn’t opening up and to make things more annoying, it keeps showing a fatal error of memory size being exhausted. So, you are here looking for a solution to this annoying issue.
Well, you have the right sense of direction and have come to the right place.

FIXING! WordPress Memory Limit Issue - 4 Quick Fixes |

Now, this error shows up whenever the memory runs out and it usually happens while trying to install plugins, themes or messing around with things that you should probably stay away from. but, at times all you need is a bad luck!
I know! Shit happens?

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2348617 bytes) in /home4/xxx/public_html/wp-includes/plugin.php on line xxx

But don’t worry,
this is a very common issue faced by most of the WordPress users and I faced this issue myself and it was very frustrating. but, I managed to find few simple solutions to a very technical issue. So, here we go.

4 Methods to Increase WordPress Memory Limit

FIXING! WordPress Memory Limit Issue - 4 Quick Fixes |

Method 1

Increase WordPress Memory Limit using Wp-config.php. ( Recommended )

  • Use FTP program or Install & Activate this plugin – File ManagerΒ to access the root directory.
  • This File manager will allow you to upload, delete, copy, move, rename, edit, compress and extract files.
  • Search for “wp-config.php” in the search bar of the file manager.
  • Right-click on the file and choose Edit file.
  • Add this line before /* That’s all, stop editing! Happy blogging. */ and press Save and Close

    define('WP_MEMORY_LIMIT',Β '256M');
  • Done!

Method 2

Increase WordPress Memory Limit using .htaccess.

  • Use FTP program or Install & Activate this plugin – File ManagerΒ to access the root directory.
  • This File manager will allow you to upload, delete, copy, move, rename, edit, compress and extract files.
  • Go to the root directory, it’s the directory where you can find yourΒ wp-config.php file. You should be able to find your .htaccess file.
  • Download the file as Backup before you make any changes.
  • Right-click on the file and choose Edit file.
  • Add this into a newline at the end of the fileΒ and press Save and Close
    php_value memory_limit 256
  • Done!

Method 3

Restoring Files and Database.

Now, this method is mainly for the users who have Godaddy as their hosting provider, but even other users with different hosting providers can try if they have the local backup enabled.

  • Go to Godaddy.com and Login to your account.
  • Click on your Username and got to My Products.
  • Then, Click onΒ Manage of Managed WordPress Websites.
  • UnderΒ Backups tab, click on Active of Local backups.
  • Now choose the restore type as Files and Database.
  • Choose the restoration dates for both and press Restore.
  • Wait for at least 10minutes and then try if it worked.

Method 4

Increase WordPress Memory Limit using .php.ini FileΒ 

  • Install & Activate this plugin –Β PHP Settings
  • Go to Tools – Go toΒ PHP Settings
  • Use the editor to manually add PHP settings

    memory_limitΒ =Β 256M
  • Save Settings!

Conclusion

Hope this worked out for you.
We also have an article on how to reduce WordPress load time – It helped us decrease ourΒ WordPress load time from 9 seconds to 3.6seconds.

How To Reduce WordPress Load Time | All methods Included
Learn how to decrease your WordPress page load time from 9 Seconds or more to just 3.6 Seconds by optimizing and speeding up your WordPress website.

If you have any suggestions, advice or request, then please do convey it through comments.
Have a nice day πŸ™‚

🎁 Internet Marketer's Handbook

YOU ROCK!

You Rank Highest Among 47 Entries.

What we cover under $25 SEO Audit?


– Search Engines Index Status
– Advanced Links Check [ Status Report ]
– Duplicacy Check
– Complete Backlinks Analysis [ Status Report ]
– Google Penalty Check [ Status Report ]
– Website SEO issues + Solutions
– Traffic Source Analysis [ Status Report ]
– 10 Keyword Suggestion
– DA & PA Analysis [ Status Report ]
– MetaTags Check
– Sitemap & Robots.txt Check + Suggestions
– Page Speed Analysis
– Website Analysis + Resolutions
–  Url Structure Analysis + Resolutions
– Brand Awareness [ Status Report ]

What we cover under $50 SEO Audit?


– Search Engines Index Status + Recommendations
– Advanced Links Check + Problem Report
– Duplicacy Check + Solutions
– Complete Backlinks Analysis + Disavow Report + Recommendations
– Google Penalty Check + Solutions
– Website SEO issues + Solutions + Recommendations
– Traffic Source Analysis + Recommendations
– 30 Keyword Suggestion
– DA & PA Analysis + Recommendations
– MetaTags Check + Recommendations
– Sitemap & Robots.txt Check + Suggestions
– Page Speed Analysis + Recommendations
– Website Analysis + Suggestions
– Url Structure Analysis + Suggestions
– Brand Awareness [ All Channels ]
– 5 Backlink Opportunities
– Content Marketing Plan
– Social Media Calendar
– Top Competitor Activities

 🎁 Download Internet Marketers Ebook for FREE!!! 
πŸ’¬ Send To Messenger

Pin It on Pinterest

Shares