Title: WordPress Memory Size
Last modified: July 21, 2021

---

# WordPress Memory Size

 *  Resolved [pandagiveaways](https://wordpress.org/support/users/pandagiveaways/)
 * (@pandagiveaways)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/wordpress-memory-size/)
 * Hello All,
 * I am desperately trying to change the WordPress setting for Memory Limit. I need
   to change this from 40m to 64m but cannot for the life of me figure out how to
   change this as changing the memory limit appears to be changing the variables,
   could someone maybe help?
 * Here’s the cross section of the PHP, I need to change the to
 *     ```
       == WordPress ===
       Version = 5.8
       Multisite = no
       Site address = https://pandagiveaways.co.uk
       Debug mode = no
       Memory limit = 40M
       Cron = yes
       Language = en_GB
       ```
   
 * Is there a way I can edit the 40M?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-memory-size%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/wordpress-memory-size/#post-14683847)
 * The above settings is what is set in WordPress and this does not mean that this
   is what is being used.
 * The “Memory limit” above comes from the following constant WP_MEMORY_LIMIT defined
   in wp-includes/default-constants.php.
    To change the memory limit you should 
   add something like this in the editor and make sure you have checked the “Update
   configuration file” checkbox before saving:
 *  memory_limit=64M
 * Try going to wp-admin/tools.php?page=custom-php-settings&tab=settings and see
   what memory_limit is set to in the table.
 * Would also be good if you could copy the entire configuration from the status
   page and not only the “WordPress” section and email me, which would make it easier
   for me to help you with this.
 *  Thread Starter [pandagiveaways](https://wordpress.org/support/users/pandagiveaways/)
 * (@pandagiveaways)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/wordpress-memory-size/#post-14683927)
 * I can’t believe how stupid I was being, it’s now worked, I was putting a space
   in there, it’s all sorted, sorry to have wasted your time, I need a coffee! Thank
   you
 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/wordpress-memory-size/#post-14684041)
 * =) Glad you solved it. Closing this issue.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WordPress Memory Size’ is closed to new replies.

 * ![](https://ps.w.org/custom-php-settings/assets/icon-256x256.png?rev=2053893)
 * [Custom PHP Settings](https://wordpress.org/plugins/custom-php-settings/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-php-settings/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-php-settings/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-php-settings/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-php-settings/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-php-settings/reviews/)

## Tags

 * [edit](https://wordpress.org/support/topic-tag/edit/)
 * [max size](https://wordpress.org/support/topic-tag/max-size/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 3 replies
 * 2 participants
 * Last reply from: [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/wordpress-memory-size/#post-14684041)
 * Status: resolved