Have You just saw an error on WordPress Memory Limit Used or WordPress Memory Exhausted Error?
Then read ahead, I will Solve Your Memory limit Fatal Error Problem in 2 ways, and that too within 2 minutes.
So have a Stopwatch 😀
Note: Basically this is not a coding error or anything like that. Instead, it is just a temporary Problem usually due to a plugin, theme, or other script exceeding the default allocated memory size limit. Don’t Worry You can solve it with much ease.
All You need to Increase WordPress Memory Limit in PHP from your End.
There are 2 Ways for it.
Increase WordPress Memory Limit in wpconfig.php file
Note: By default, the PHP Memory limit is Set to either 64 MB or 128MB (I had by default 128M fixed on my wpconfig.php file)
To increase the PHP Memory limit in the wpconfig.php file, you need to access your Webhosting files.
It can be accessed either through an FTP client or directly through Root Directory in File Manager.
I had done through directly through File Manager, You can do it in whatever way it is comfortable to you.
- Under the public_html folder,
- Open WordPress Root Directory.
- Search for
- Change the Limit from “64M” or “128M” to “256M”
- Or either Paste this code:
Increase WordPress Memory Limit in cPanel
This method is much simpler than the first one.
All you need to have a cPanel first.
Note: Every Webhost does not offer cPanel. So before choosing a web host, must assure that it has a cPanel. I am using Siteground and it has a cPanel.
- Go to cPanel
- Search Software Section
- Click the “Select PHP Version”
- Click the Options Tab
- Go Down to “
- Increase Memory limit to “256M”
Here You go! Once You have done this.
You will see your website Running well.
If still, it does not fix up yet. Then surely it will be a problem from your web host’s end.
Contact Customer Care Support.
If I fixed Your WordPress Memory exhausted error. Then instead of thanking me, Share this post on your Social Media account. Pin the Pictures to your Pinterest.
Subscribe t0 Blogveda for more such Solutions.