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

Created on 12 June 2022, about 2 years ago
Updated 4 October 2023, 9 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.0

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

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.69.0 2024