To increase the WordPress Memory limit, open the wp-config.php file and find the line:
define( 'WP_MEMORY_LIMIT', '96M' );
Increase the value to the required limit e.g. 512M (your hosting provider may have an upper limit).
If you cannot find the line in the wp-config.php file, manually add it above this line:
/* That’s all, stop editing! Happy publishing. */