How to Increase the WordPress allowed memory size

As a preventative measure, if you are planning to do a lot of importing, we recommend a hosting plan with at least 128M of memory available for PHP. Also, please bear in mind that in order to utilize available memory resources, the  WordPress memory limit has to be adjusted accordingly.

To increase the WordPress-allowed memory size for your website:

  • Open wp-config.php. By default, this is located in the root WordPress directory. 
  • Find the following line near the end of the file:

/* That's all, stop editing! Happy blogging. */<br>

  • Above that line, add the following line:

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

 If you need more memory, you can adjust this to a different value

Save your changes when you are satisfied with the memory value. 

If you’re still experiencing a slow site or performance, we also recommend staggering the import of feed items on your site, as explained here.

Still need help? Contact Us Contact Us