tsoHost Help Centre

Table of Contents

Increase the WordPress memory limit

Updated May 6th, 2021 at 15:35 BST

You may run into an issue when working with your WooCommerce site that asks you to increase the WordPress memory limit. The easiest way to accomplish this is by editing your wp-config.php file.

Warning: You should always backup your site before making changes to the wp-config.php file.

Access files in your Managed WordPress account from your Dashboard -> Tools -> Open next to File Browser.

Locate the file wp-config.php in the root directory or folder.

Double-click the wp-config.php file to open it.

Select Edit.

Find the line / That's all, stop editing! Happy publishing. /

Right above the line in step five, add this code:

      define('WP_MEMORY_LIMIT', '256M');
      define('WP_MAX_MEMORY_LIMIT', '256M');

Select Save.