WordPress automatically limits your PHP memory to 40MB. This may result in your WooCommerce website being slow to process information, searches, product uploading and so on.
1. Open your wp-config.php file
Use an FTP software to access your WordPress files. You can find wp-config in the main installation folder. Open it, or download it so that you can edit it.
2. Add the following line of code
3. Note: do not add it at the bottom!
You will need to add the code above this line:
require_once(ABSPATH . 'wp-settings.php');
…or it won’t work!
This is it!