Title: WP_MEMORY_LIMIT &amp; BackWPUp
Last modified: April 27, 2020

---

# WP_MEMORY_LIMIT & BackWPUp

 *  Resolved [Conor Boyd](https://wordpress.org/support/users/conorsboyd/)
 * (@conorsboyd)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/wp_memory_limit-backwpup/)
 * Hi,
    A couple of my BackWPUp jobs fail due to mem exhaustion. I currently have
   the following settings for my sites: WP_MEMORY_LIMIT = 40M WP_MAX_MEMORY_LIMIT
   = 128M
 * If I manually start a job from the WP Admin UI, it succeeds. However, it fails
   when executed on a schedule.
 * One of the sites fails at the start during the DB backup, and fails 3 times, 
   and thus the backup zip file is useless.
    The other site fails at the S3 upload
   part (with a 1.4GB zip file upload). It retries and usually succeeds the second
   time.
 * Can I conclude from this that BackWPUp is being restricted by the lower 40MB 
   WP_MEMORY_LIMIT, and that I should consider upping it?
 * Can you clarify BackWPUp’s requirements in this area please, particularly in 
   respect to WP_MEMORY_LIMIT vs WP_MAX_MEMORY_LIMIT?
 * Cheers,
 * Conor

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

 *  [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * (@duongcuong96)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/wp_memory_limit-backwpup/#post-12745759)
 * Hi [@conorsboyd](https://wordpress.org/support/users/conorsboyd/)
    you set wp
   memory way too low, try to increase WP_MAX_MEMORY_LIMIT to 512M and
 * WP_MEMORY_LIMIT to about 128mb then try again.
    Thanks!
 *  Thread Starter [Conor Boyd](https://wordpress.org/support/users/conorsboyd/)
 * (@conorsboyd)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/wp_memory_limit-backwpup/#post-12748285)
 * Thanks for your reply.
 * Those recommendations worked for one of my two sites, but not the other, but 
   I’ll do some more testing anyway. I accept those initial settings were low.
 * Cheers,
 * Conor
 *  [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * (@duongcuong96)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/wp_memory_limit-backwpup/#post-12797814)
 * [@conorsboyd](https://wordpress.org/support/users/conorsboyd/)
    any update for
   me? Thank you!
 *  Thread Starter [Conor Boyd](https://wordpress.org/support/users/conorsboyd/)
 * (@conorsboyd)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/wp_memory_limit-backwpup/#post-12799688)
 * [@duongcuong96](https://wordpress.org/support/users/duongcuong96/) I reduced 
   the size of the backup on the second site and the problem went away. Before I
   reduced it, the resultant backup zip file was approx 1.4GB, now it’s about 0.5GB.
   I was previously backing up some folders outside the WP installation, and now
   I’m not.
 * Thanks for checking in again.
 *  [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * (@duongcuong96)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/wp_memory_limit-backwpup/#post-12803641)
 * [@conorsboyd](https://wordpress.org/support/users/conorsboyd/)
    really happy 
   to hear that ^^
 * If you find BackWPUp is useful for you, we would really appreciate it if you 
   leave a positive review and rating.
    This would encourage us to develop new free
   features and provide free support 😀 [https://wordpress.org/support/plugin/backwpup/reviews/](https://wordpress.org/support/plugin/backwpup/reviews/)

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

The topic ‘WP_MEMORY_LIMIT & BackWPUp’ is closed to new replies.

 * ![](https://ps.w.org/backwpup/assets/icon-256x256.png?rev=3236141)
 * [BackWPup – WordPress Backup & Restore Plugin](https://wordpress.org/plugins/backwpup/)
 * [Support Threads](https://wordpress.org/support/plugin/backwpup/)
 * [Active Topics](https://wordpress.org/support/plugin/backwpup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/backwpup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/backwpup/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/wp_memory_limit-backwpup/#post-12803641)
 * Status: resolved