How to Address Memory Exhausted Error on Your WordPress Website

Updated on Aug 6, 2021

There is a Fatal error that may occur on your WordPress website. It says:

Fatal error: Allowed memory size bytes exhausted!

Usually, WordPress is using a few variables for storing the memory limit value it can be using. If that value is lower than the actual amount of memory your website is using then this will naturally result in the error message you are experiencing. There are a few things you can do in order to get around this issue.

  • Option 1 – You can add an additional line into the wp-config.php file with the following code:

define (‘wp_memory_limit’, ’64M’);

  • Option 2 – You can disable all of the plugins you are using from your database so you can be able to access your website.

If you would like us to investigate further that issue please submit a support request and we will do so.

We hope you find this article useful. Discover more about FastCloud - the top-rated Hosting Solutions for personal and small business websites in four consecutive years by the HostAdvice Community!

WordPress Hosting

  • Free WordPress Installation
  • 24/7 WordPress Support
  • Free Domain Transfer
  • Hack-free Protection
  • Fast SSD Storage
  • Free WordPress Transfer
  • Free CloudFlare CDN
  • Immediate Activation
View More