You see a memory limit error on your site, and you are confused about how to fix it!!!
WordPress is built on PHP a server-side language which makes it possible for it to run. Every application needs sufficient memory to run on; every application has a specific memory allocation and can’t perform beyond the allocated space.
Hosting a web server gives every application a specific memory size to operate efficiently. Web servers need to share memory to manage other web applications without errors.
If you get a memory limit error, you need to increase your memory limit using wp-config.

You can fix it via wp-config Read more about wp-config here!! The default memory limit for any WordPress site is 64Mb with the option of increment.
How to fix memory limit error
Increase the PHP memory limit in WordPress.
You have to edit your site wp-config file. You can find this file in your WordPress folder, and you can edit it via cPanel (file manager) or FTP.
Consequent to you accessing this file, you need to add the following line of code to increase the PHP memory limit.
define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
N: B You need to save the file after adding the code; this automatically increases the memory limit.
If this error persists, then increasing the memory limit is not allowed by your hosting providers, you need to contact your hosting provider to be sure if it’s supported.
We hope this article solves your memory increase limit error if it doesn’t, please let us know via the comment section.