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 wpconfig.php file, you need to access your webhosting files.
It can be accessed either through 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 confortable to you.
- Under 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 have 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 fixed up yet. Then surely it will be a problem from your web host’s end.
Contact the 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.