How to Fix WordPress Low Memory Limit
Our plugin WPMEMORY on Premium Version can increase and decrease the WordPress Memory Limit of your site from the plugin dashboard. You don’t need to edit any files neither risking accidental file alterations.
With WPmemory, tackling the issue of low memory limit in WordPress becomes a breeze. Gone are the days of wrestling with intricate code or risking accidental file modifications.
We suggest define Maximum Memory Limit to 256 or 512MB. This WordPress Maximum Memory is by instance. As you add visitors, you may find additional instances, that are all using memory. Each PHP instance of WP uses only as much memory as it needs.
Otherwise, to increase the WordPress Memory Limit by hand, add this info to your file wp-config.php (located at root folder of your server)
(just copy and paste)
before this row:
/* That’s all, stop editing! Happy blogging. */
Remember: Your PHP memory limit needs to be larger than the WP memory limit.
If you need more, just replace 128 with the new memory limit.
To increase your total server memory, talk with your hosting company.
Admin tasks may require more memory than usual operations. When in the administration area, memory can be adjusted from the default WP_MEMORY_LIMIT by defining WP_MAX_MEMORY_LIMIT. The default value for WP_MAX_MEMORY_LIMIT is 256MB. This variable might cause confusion for site administrators because it prevents memory errors in the admin area but may still lead to errors on the front end for regular users.
Here is the link with WordPress official info: