How to increase WordPress memory limit

WordPress memory limit is set to 32M by default. This is sometime not enough for a heavy WordPress site.

To increase the WordPress Memory limit:

  • open the wp-config.php file
  • add the following line (before it says /* That's all, stop editing! Happy blogging. */):

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


This should increase the memory limit to 128 Mega Byte.

  • WordPress, wp-config.php
  • 0 Users Found This Useful
Was this answer helpful?

Powered by WHMCompleteSolution