WP Memory Limit lets you increase the maximum memory available to WordPress for normal operations and administrative tasks. If your site runs out of memory, this is where you fix it.
What this feature does
WordPress runs inside PHP, and PHP has a memory limit to prevent runaway processes from consuming infinite resources. By default, WordPress gets 32MB of memory, though it tries to increase itself to 40MB on single sites and 64MB on multisite installations. For many sites this is enough, but sites with many plugins, large media files, advanced features, or resource-intensive operations can hit this limit and crash with fatal errors.
This feature gives you two separate memory limits. The first, WP Memory Limit, is the regular memory budget for WordPress to run your site, themes, and plugins. The second, WP Max Memory Limit, is a separate, higher limit for administrative operations like updates, backups, and large imports that need extra resources. By tuning these, you can prevent out-of-memory errors and stabilize your site.
Setting memory limits higher than your server allows won't help. Check with your hosting provider about your server's actual available memory. AdminEase lets you set any value, but the server ultimately enforces its own ceiling. If you're hitting memory errors consistently, you may need to upgrade your hosting plan or reduce what your site is trying to do.
How to enable it
- Open AdminEase and navigate to Performance. Click AdminEase in the WordPress admin menu, then look for the Performance tab.
- Set your memory limits. Choose a preset value from the WP Memory Limit dropdown (commonly 128M, 256M, or 512M). If you need a custom value, select "Other" and enter the amount in MB.
- Set max memory for admin tasks (optional). In the WP Max Memory Limit dropdown, choose a value higher than your regular limit. This is used only for updates and backups. If left blank, WordPress uses the regular limit.
-
Save settings.
AdminEase writes the constants to
wp-config.phpimmediately. Changes take effect on the next page load.
Settings reference
| Setting | What it does | Default |
|---|---|---|
| WP Memory Limit | The maximum memory WordPress is allowed to use for normal page loads, plugin execution, and theme rendering. Presets range from 40M to 32G. Choose a value based on your site's complexity. Leave empty to use WordPress defaults (40M for single site, 64M for multisite). | (empty) |
| Custom memory limit (child field) | If you selected "Other" in the WP Memory Limit dropdown, enter your custom limit in megabytes here. Minimum value is 40MB. Visible only when "Other" is selected. | (empty) |
| WP Max Memory Limit | The maximum memory available for administrative operations, such as plugin updates, theme updates, backups, large imports, and media processing. Usually set higher than WP Memory Limit to ensure these critical operations don't fail. Leave empty to use WordPress defaults or match WP Memory Limit. | (empty) |
| Custom memory limit (child field) | If you selected "Other" in the WP Max Memory Limit dropdown, enter your custom limit in megabytes here. Minimum value is 40MB. Visible only when "Other" is selected. | (empty) |
What gets written to wp-config.php
AdminEase uses its managed file handler to write two constants to wp-config.php:
define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );
These constants are read by WordPress at startup and enforce the memory limit for PHP. AdminEase preserves anything outside its managed block in wp-config.php, so you can safely use this feature alongside other manual edits or plugins that modify the config file.
Troubleshooting
I increased the memory limit, but I still get fatal memory errors
Check two things. First, verify the setting was saved correctly by viewing AdminEase > Performance and confirming your value is still there. Second, check your hosting provider's server limits. If your server has a maximum of 512MB total available and you've set WordPress to 1GB, PHP will be capped at the server ceiling. Contact your host to either increase the server limit or confirm what's available.
How much memory should I set?
Start with 128M if you have a modest site with few plugins. For busy sites or sites with advanced plugins, try 256M or 512M. Very large sites with heavy operations may need 1GB or more. Monitor your error logs and memory usage; if errors disappear after the increase, you've found your sweet spot. If they continue, keep increasing or contact your host about server capacity.
What's the difference between WP Memory Limit and WP Max Memory Limit?
WP Memory Limit is the everyday budget for page loads and normal operations. WP Max Memory Limit is a temporary higher limit used only when WordPress is performing heavy administrative tasks like updates or imports. By separating them, you ensure critical admin tasks don't fail due to resource constraints, while keeping normal page loads efficient at a lower memory ceiling.
I'm worried about setting memory too high
Setting a higher limit doesn't automatically consume more memory, it just allows WordPress to use more if needed. WordPress releases memory when it's done. However, if your actual server memory is limited, high limits won't help and may cause other processes to slow down if they're starved for resources. The best approach is to set it just high enough to resolve your errors, monitor your actual server memory usage, and work with your host if you consistently need more.
