Connect with us

How to Fix Memory Exhausted Error in WordPress?

solution

How to Fix Memory Exhausted Error in WordPress?

While working on WordPress website, the Fatal Error occurrence is one of the WordPress common issues. Every WordPress user may experience this “Allowed Memory Size Exhausted Error” at least once. In this article, we will show you how to Fix WordPress Memory Size Exhausted Error easily.

Fixing “Memory Exhausted Error” in WordPress

The Memory Size Exhausted Error is one of the common errors in WordPress Site. When this error occurs, the visitors can frustrated and quit from your WordPress website quickly. This will make your website ranking down. So, you need to know how to resolve this Memory Exhausted Error on your WordPress site. Here you can find the easy ways to fix the “Fatal Error: allowed memory size” in WordPress site.

What is Memory Exhausted Error ?

The Memory Limit can exceed because of WordPress plugins and WordPress themes you installed on your WordPress site. When you exceed the default Memory Limit of your WordPress Site, this “Fatal Error: Allowed memory size” will raise. The Fatal Error: Allowed memory size of WordPress site is also called as Memory Exhausted Error.

How to Fix WordPress Memory Exhausted Error ?

If you get this error in your WordPress site then you need to increase the PHP Memory limit. There 2 ways to increase the memory limit in PHP. Those are

  1. Increase PHP Memory Limit with admin access.
  2. Increase PHP Memory Limit without admin access.

Increasing of Memory Limit with admin access is easy when compared to without admin access.

Because of the Fatal Error, your WordPress site does not work properly but it gives you the access to your admin area. In that case, you have to follow the given process and resolve your Memory Exhausted Error.

READ  How to control WordPress jpeg Image Compression?

Edit ‘wp-config.php’ File

  • First, you have to login to your WordPress website admin area.
  • The WordPress dashboard of your site will appear on the screen.
  • In the screen left side navigation bar, the Appearance link is available.
  • Click on the Editor option from the Appearance tab.
define('WP_MEMORY_LIMIT', '64M');

Sometimes you may lose access to your WordPress admin area because of the Memory Size Exhausted Error. To overcome this error, you have to access your website through FTP. It is difficult for the beginners when compared to experienced ones. Don,t worry about it. Have a look on the given process. Here we described the possible ways to fix Fatal Error in your WordPress website.

define('WP_MEMORY_LIMIT', '64M');
READ  Publish your WordPress Blog by different Blogging Platforms

This is one of the easy ways to resolve this “Fatal Error: allowed memory size” from your WordPress Site.

Edit ‘php.ini’ File

First, you have to check your WordPress site has the php.ini file access or not. If you have the access to your WordPress php.ini file then follow the with access process. Else, you have to follow the second process to fix this error.

With php.ini file access

memory_limit = 64M;

Without php.ini file access

memory_limit = 64M;
Edit ‘.htaccess’ File

This is one of the easy methods to resolve Memory Exhausted Error in your WordPress Site without admin access. Follow the steps and get out from the Fatal Error.

  • First, you have to Open wp-includes folder of your WordPress.
  • Now, Click on the Server tab from the menu.
  • The menu will display with various options.
  • Choose Force Showing Hidden Files option from it. Actually, the FTP Program hides the Dotfiles. The .htaccess is one Dotfile.
  • Now, you have to search for the .htaccess file.
  • Next, Download the .htaccess file.
  • Open the file with text editor and Add the given code to it.
php_value memory_limit 64M;
READ  How to Fix Parse Error: Syntax Error in WordPress ?

We hope this article will guide you to fix “Fatal Error: allowed memory size” in WordPress site. Stay connected with us to get Better guidance on WordPress.

Continue Reading
You may also like...

We are a WordPress plugin developer company that focuses on useful WordPress plugin creation and empowering people to earn passive incomes from their blogs. We build unique and groundbreaking plugins that will revolutionize your blog!

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

More in solution

    Sign up for our newsletter and get a free affiliate e-book!


    About Me:

    Szabi Kisded

    Hi, my name is Szabi and I'm documenting my journey selling plugins on CodeCanyon. I will show you every step of it: learning to code, plugin ideas, WordPress stuff and more. Read more…

    Mega Plugin Bundle:

    CodeCanyon Portfolio:

    Learn to Code Plugins:

    Latest Promotions:

    Recommended Theme:

    Start Your Own Blog:

    Recommended VPN Service:

    Translate Your Blog:

    AdSense Alternative:

    Best Article Spinner:

    Popular Posts:

    Latest Posts:

    To Top

    Privacy Preference Center

        Necessary

        Advertising

        Analytics

        Other