WordPress is a flexible platform that supports a wide range of WordPress free themes, WordPress plugins, WordPress file formats, and additional features. You might occasionally run into the WordPress memory limit problem when attempting to upload these resources, though. In this article, we will discuss the topic of WordPress Memory limit increase. (WordPress increases memory Limit)
What is htaccess in WordPress?
In a simple definition, .htaccess is one of the most powerful configuration file that can control how your server runs your website. It has control over 301 redirects, SSL connection, password protection, default language, and more on your WordPress website including its memory limit.

How to edit htaccess file in wordpress?
Without having to change your server configuration files, you can send instructions to your server using .htaccess. As a result, if you can’t access your PHP.ini file,.htaccess is a decent substitute.
To access this file, connect to your server using an FTP client. You can then navigate to your site’s public_html directory, which contains the .htaccess file:

Now, Open this file and add the following code snippet below the # END WordPress line:
php_value mermory_limit 256M
Here’s what is might look like:

Make sure to save your changes when you’re done.
How long it take for .htaccess to update?
Since .htaccess files are read on every request, changes made in these file take immediate effect.
Also, Read this article to know more about the Easy Method to increase the WordPress limit.
How To Increase WordPress Memory Limit & Upload Max Size