Title: Error with database Backup – Memory Limit (#3)
Last modified: November 14, 2024

---

# Error with database Backup – Memory Limit (#3)

 *  Resolved [lokash](https://wordpress.org/support/users/lokash/)
 * (@lokash)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/error-with-database-backup-memory-limit-3/)
 * Hi,
   I too am running WordPress under IONOS shared hosting and have also started
   receiving a similar error today, “`ERROR: Allowed memory size of 117440512 bytes
   exhausted (tried to allocate 2994360 bytes)`“, only when backing up the database.
   I’m running WordPress 6.7 under PHP 7.4 and, yes, I know that’s unsupported but
   we can’t update it yet due to the theme we’re running and a site redesign is 
   in the pipeline at which point it’ll get zapped. But I digress.Anyway, I’ve read
   both of the following topics:[https://wordpress.org/support/topic/error-with-database-backup-memory-limit/](https://wordpress.org/support/topic/error-with-database-backup-memory-limit/)
 * [https://wordpress.org/support/topic/error-with-database-backup-memory-limit-2/](https://wordpress.org/support/topic/error-with-database-backup-memory-limit-2/)
 * and having set the `wp_memory_limit` first to 512M then 1024M, I was still getting
   the error, despite PHPinfo reporting that the limits appeared to be recognised
   and the `wp_max_memory_limit` was set to -1.
   So I took a tangental approach and
   examined the database tables. I discovered that the two biggest tables were `
   wp_wffilechanges` and `wp_wffilemods`, both owned by Wordfence. When I looked
   those up, I found this post:
 * [https://wordpress.org/support/topic/table-wp_wffilemods/](https://wordpress.org/support/topic/table-wp_wffilemods/)
 * So I truncated both tables and the error disappeared.
   Takeaway: If you have Wordfence
   installed, it may be the culprit inasmuch as it’s precipitating the problem and
   truncating those tables is a workaround, but it does look like there’s something
   weird going on with the memory handling in either IONOS’ shared hosting, PHP,
   WordPress or BackWPup, and experience leads me to want to put my money on the
   first one in the list. 🙂
    -  This topic was modified 1 year, 6 months ago by [lokash](https://wordpress.org/support/users/lokash/).
    -  This topic was modified 1 year, 6 months ago by [lokash](https://wordpress.org/support/users/lokash/).
    -  This topic was modified 1 year, 6 months ago by [lokash](https://wordpress.org/support/users/lokash/).
    -  This topic was modified 1 year, 6 months ago by [lokash](https://wordpress.org/support/users/lokash/).
    -  This topic was modified 1 year, 6 months ago by [lokash](https://wordpress.org/support/users/lokash/).
    -  This topic was modified 1 year, 6 months ago by [lokash](https://wordpress.org/support/users/lokash/).

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

 *  Thread Starter [lokash](https://wordpress.org/support/users/lokash/)
 * (@lokash)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/error-with-database-backup-memory-limit-3/#post-18135190)
 * Not spam. Just me making several edits in a short period due to the spellchecker
   and me not being able to think and type at the same time!
    -  This reply was modified 1 year, 6 months ago by [lokash](https://wordpress.org/support/users/lokash/).
    -  This reply was modified 1 year, 6 months ago by [lokash](https://wordpress.org/support/users/lokash/).
 *  Plugin Support [Saransh](https://wordpress.org/support/users/saranshwpm/)
 * (@saranshwpm)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/error-with-database-backup-memory-limit-3/#post-18146716)
 * Hi,
   Thank you for reaching out.I have added this information to our reports and
   shared it with developers.I assume the issue is resolved on your end. If you 
   need further assistance, feel free to reach out.Best Regards,

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

The topic ‘Error with database Backup – Memory Limit (#3)’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [Saransh](https://wordpress.org/support/users/saranshwpm/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/error-with-database-backup-memory-limit-3/#post-18146716)
 * Status: resolved