In this tutorial, we will quick fix one of the most common error for WordPress – Fatal error: Allowed memory size of bytes exhausted. Simply follow the below steps to solve & increase memory limit in WordPress.

Step 1: Login to Control Panel / cPanel.

Step 2: Navigate & open File Manager

Step 3: Open public_html folder

Step 4: Edit wp-config.php file (do it by right clicking on the file and click edit)

Step 5: Copy & paste the below code at the bottom of the file and click on save.

Step 6: Thats all! and you have fixed the Fatal error for allowed memory size in WordPress and increased the WordPress memory size for smooth & stable working of a WordPress website.

define( ‘WP_MEMORY_LIMIT’, ‘1024M’ );

IMPORTANT NOTE: the memory limit is always saved in MB as “M” which solely depends upon the hosting plan you have purchased. Hence don’t forget to ask your hosting provider for the total RAM you have in your wordpress hosting plan before updating this. This limit should not be set more than the RAM installed in the hosting plan you’re currently using. myglobalHOST offers minimum 1GB of virtual dedicated RAM in each shared hosting you buy & upto 6GB RAM in premium cloud hosting which is most suitable for WordPress Websites.

Also read

How to Configure Email ID On Your Mobile Device?

To setup / configure email ID on your mobile phone. Please follow the below steps:For Android Devices: Visit Playstore Search for app called "MYMAIL" Install and activate the application On opening the app, click on the last option which says "others" Enter the email...

How to create Email ID account in cPanel?

In order to create a new Email Account or Email ID in cPanel (If provided by the Hosting Provider in the plan), then please follow the below steps: Login to cPanel Locate and click on "Email Accounts" Click on "create" button which is available on right side of the...

WordPress Admin Dashboard Not Loading Properly

Is your Wordpress Dashboard Broken? An uncommon problem of Wordpress Dashboard not loading properly can be frustrating and time consuming in fixing. However with a simple trick this problem of CSS not loading properly in Wordpress dashboard can be fixed in just few...

How to enable error logs in WordPress using wp-config?

If you’re reading this post then it clearly means that you are facing some problem in your wordpress website which needs to be rectified. Enable error logs in wordpress is one of the easiest way to know & fix the error in your wordpress website. There are multiple...

Cheap LSCWP Web Hosting for WordPress

If you’re looking for a cheap LSCWP web hosting for WordPress website or an Ultra-fast LiteSpeed hosting then probably you’ve reached the right place. We have tried to summarize Introduction of Web Hosting, How to choose the right type of web hosting for your website...

Dofollow Backlink Site List 2022

Get to know Best 1000+ High-Quality Dofollow Backlink Site List 2022 which will also work in 2023 | Free do-follow backlinks 2022 If you are looking for high-domain authority sites to get Dofollow backlinks in 2022, then you're at the right place. Backlinks has been...

How to take a full account backup in cPanel (Manually)?

Generating Backup is very important if you're planning to move / transfer your website and its data to another website hosting provider or for safety reasons. To generate full account backup in cPanel Hosting, please follow the below steps: Login to cPanel Locate...

Is WordPress Free or Paid?

WordPress is 100% free and an open-source CMS (content management system) written in PHP and paired with a MySQL or MariaDB database. Features include a plugin architecture and a template system, referred to within WordPress as Themes. It is known as the most easiest...

How to Install WordPress CORRECTLY using Softaculous in cPanel?

The above video explains how to install Wordpress correctly from Softaculous available in your cPanel. However let us have the steps here as well if you do not wish to see the video tutorial. Step 1: Login to cPanel by visiting cpanel.yourwebsite.com Step 2: Search...

How to update Nameserver for myglobalHOST?

At the outset, we would like to thank you for visiting our knowledgebase area. Why is it Important to update the Nameservers?Updating nameserver is utmost important so that the domain can be linked with the hosting account in order to work properly. Without updating...