Out of memory during manual database backup with error in MySQLiSource.php

Created on 12 June 2022, over 2 years ago
Updated 7 September 2024, 4 months ago

Problem/Motivation

I set up backup_migrate to backup Default db. Hit the Backup Now button, and got a WSOD. Error log says:

Allowed memory size of 536870912 bytes exhausted (tried to allocate 294912 bytes) in ../backup_migrate/src/Core/Source/MySQLiSource.php on line 456'

On Apache, php8.1, Mariadb.

If it is relevant, I also saw notice "The backup file could not be saved to 'private://backup_migrate/' because your private files system path has not been set. " In fact I had changed the "Private files" destination to be the asbolute path of a cusotm folder oustide my private files directory, so I assumed that the fact that the "Private files" path with machine name "private_files" was not inside a private files directory would not matter.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

5.1

Component

Code

Created by

🇬🇧United Kingdom John_B London (UK), Worthing (UK), Innsbruck (Tirol)

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024