Increase Wordpress Memory Limit - True Design

How To Increase Your WordPress Memory Limit

With the ever increasing use of CSS3 animations and Javascript, you may notice your WordPress site become slow to load.  If this happens to you, there is a simple little fix that can help solve it.

All you need is FTP access to your WordPress installation and a text editor like Sublime which is free to download.

First of all you need to login to your WordPress installation through FTP.  You can use FileZilla which is free to download. Once your logged in, you need to download two files.

The first is your wp-config file which is located in your WordPress installation directory. See screenshot below.

Increase WordPress Memory Limit - True Design

Once you have this file download you will then need to download another file called default-constants.php which is located in the other folder, see screenshot below.

Increase WordPress Memory Limit - True Design

Increase WordPress Memory Limit - True Design

Now that you have these two files downloaded, you need to open them both up in Sublime text editor. First start with the wp-config.php file.

You need to search for this line of code -> define( ‘WP_MEMORY_LIMIT’, ’64M’ );

Once you find it, all you need to do is change the 64M or in some cases 128M to 768M and save your file. If that line of code is not in your file, simply add -> define( ‘WP_MEMORY_LIMIT’, ‘768M’ ); at the bottom of the file and save it.

Increase WordPress Memory Limit - True Design

Now open the default-constants.php file, and change 64M to 768M and save. See screenshot below.

Increase WordPress Memory Limit - True Design

Once you have completed editing and saving both files, simply log back into your WordPress installation through FileZilla and upload the wp-config.php file to your WordPress installation folder. Then upload the default-constants.php file to other folder. It will ask you do you want to overwrite the current files, say yes and thats it. You know have increased your WordPress Memory to 768M and your site should load a lot better and faster.

Need help?

If you need some expert help, simply enter your details and we will be glad to assist you.
  • This field is for validation purposes and should be left unchanged.
Increase Wordpress Memory Limit - True Design

How To Increase Your WordPress Memory Limit

With the ever increasing use of CSS3 animations and Javascript, you may notice your WordPress site become slow to load.  If this happens to you, there is a simple little fix that can help solve it.

All you need is FTP access to your WordPress installation and a text editor like Sublime which is free to download.

First of all you need to login to your WordPress installation through FTP.  You can use FileZilla which is free to download. Once your logged in, you need to download two files.

The first is your wp-config file which is located in your WordPress installation directory. See screenshot below.

Increase WordPress Memory Limit - True Design

Once you have this file download you will then need to download another file called default-constants.php which is located in the other folder, see screenshot below.

Increase WordPress Memory Limit - True Design

Increase WordPress Memory Limit - True Design

Now that you have these two files downloaded, you need to open them both up in Sublime text editor. First start with the wp-config.php file.

You need to search for this line of code -> define( ‘WP_MEMORY_LIMIT’, ’64M’ );

Once you find it, all you need to do is change the 64M or in some cases 128M to 768M and save your file. If that line of code is not in your file, simply add -> define( ‘WP_MEMORY_LIMIT’, ‘768M’ ); at the bottom of the file and save it.

Increase WordPress Memory Limit - True Design

Now open the default-constants.php file, and change 64M to 768M and save. See screenshot below.

Increase WordPress Memory Limit - True Design

Once you have completed editing and saving both files, simply log back into your WordPress installation through FileZilla and upload the wp-config.php file to your WordPress installation folder. Then upload the default-constants.php file to other folder. It will ask you do you want to overwrite the current files, say yes and thats it. You know have increased your WordPress Memory to 768M and your site should load a lot better and faster.

Need help?

If you need some expert help, simply enter your details and we will be glad to assist you.
  • This field is for validation purposes and should be left unchanged.