Home
/
WordPress
/
Configuration
/
How to increase WP Memory Limit?

How to increase WP Memory Limit?

To increase the WordPress Memory limit, edit the wp-config.php file of your application. You can use the Site Tools -> File Manager to open the file for editing. The file is located in the folder where you installed your WordPress application (/home/customer/www/yourdomain.com/public_html by default). In it locate the line:

define( 'WP_MEMORY_LIMIT', '96M' );

Replace the value you see in the quotes to with a new one up to 512M on all shared hosting accounts. On Cloud solutions, you may further increase the number. After the changes the line should look like this:

define( 'WP_MEMORY_LIMIT', '512M' );

In some cases the line might not be present in your wp-config.php file. If you cannot find it, just copy the line provided above and paste it into the file, right before this one:

/* That’s all, stop editing! Happy publishing. */

Share This Article