1. Home
  2. General
  3. Memory Error Message – Increase WordPress Memory

Memory Error Message – Increase WordPress Memory

If you see an error related to WordPress Memory, we recommend upgrading to 64 MB of memory (which is typically enough) but 128 MB of memory is even better. It just depends if the host can offer 128 MB of memory or not.

Upgrading to 64 MB of memory is enough in many cases.

If you have access to your PHP.ini file, you can change the line in PHP.ini

If your line shows 32M try 64M or even 128M:
memory_limit = 64M ;

Maximum amount of memory a script may consume (64MB)

If you don’t have access to PHP.ini try adding this to an .htaccess file:

php_value memory_limit 64M

Try adding this line to your wp-config.php file: Increasing memory allocated to PHP
define(‘WP_MEMORY_LIMIT’, ’64M’);

If you are not sure how to go about this, we recommend you contact your hosting provider and give them the information explained above. They will very likely know how to upgrade this for you.

Updated on January 10, 2020

Was this article helpful?

Related Articles

Not the solution you were looking for?
Click the link below to submit a support ticket
Submit Ticket