Increasing the WordPress Memory Limit

In order to increase the WordPress memory limit, you must edit the WordPress

wp-config.php file.


  1. Connect to the your Strattic SFTP server (see how to connect using Cyberduck)

  2. Within the /public_html/ folder locate wp-config.php

  3. Right-click on the file and select Edit

  4. Paste the directive code
    define('WP_MAX_MEMORY_LIMIT', '512M');
    or, if that doesn’t help, try: define('WP_MEMORY_LIMIT', '512M');
    above /* That’s all, stop editing! Happy blogging. */

  5. Once you are done making changes save the file. The downloaded file will then upload to back to the server and override the existing file.

StratticΒ is an end-to-end managed WordPress static publishing and hosting platform.
Try it free for 14 days, no credit card required.

Did this answer your question?