View WordPress memory information
To view the WordPress memory limit, follow these steps:- Log in to your WordPress site with an administrator account.
-
On the Dashboard in the left sidebar, click Tools, and then click Site Health:
-
Click on the Info tab, and then click WordPress Constants:
-
The WordPress memory settings are listed WordPress Constants:
How to modify WordPress memory limit
To increase WordPress memory limit, follow these steps:-
Login to cPanel, and then click on File Manager:
-
On the File Manager, search for wp-config.php, and then click Go:
-
Right click on wp-config.php, and then click Edit to edit the wp-config. php file:
- Search for the following lines in wp-config.php to change the memory allocation:
- Change the memory from 40MB to either 64MB or 128MB. (if these lines are not available, move to the next step).
- Add the following lines in the wp-config. php file right above “That’s all, stop editing! Happy publishing”:
-
Click on Save Changes to change the WP memory limits:
- On the WP admin dashboard, in the left sidebar, click Tools, and then click Site Health. On the info tab, click on WordPress Constants to view the memory limit changes