wordpress max memory limit

To increase the memory limit in WordPress, follow these steps:

  1. Access your WordPress site's root directory using an FTP client or a file manager provided by your web hosting service.

  2. Locate the wp-config.php file and download it to your computer.

  3. Open the wp-config.php file using a text editor.

  4. Add the following line of code just before the line that says "/ That's all, stop editing! Happy blogging. /":

define('WP_MEMORY_LIMIT', '256M');

Replace '256M' with your desired memory limit, such as '512M' for 512 megabytes.

  1. Save the changes to the wp-config.php file and upload it back to the root directory of your WordPress site, overwriting the existing file if prompted.

  2. After completing these steps, the memory limit for your WordPress site should be increased.