To increase the WordPress Memory limit, open your wp-config.php file and locate the line:
define( 'WP_MEMORY_LIMIT', '96M' );
Increase the value to up to 512M on all shared hosting accounts. On Cloud solutions, you may further customize the limit.
If the line is not present in your wp-config.php file, you can add it right above this one:
/* That’s all, stop editing! Happy publishing. */