From a8adf9dd542c8b702bc012687c7bf3321badb6cd Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 15 Jun 2017 09:32:12 +0200 Subject: [PATCH] lower number of rows read per query, to not run out of memory (eg. pec instance) --- api/src/Db/Backup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Db/Backup.php b/api/src/Db/Backup.php index 2841af7f27..eff45ad866 100644 --- a/api/src/Db/Backup.php +++ b/api/src/Db/Backup.php @@ -867,7 +867,7 @@ class Backup /** * Number of rows to select per chunk, to not run into memory limit on huge tables */ - const ROW_CHUNK = 10000; + const ROW_CHUNK = 5000; /** * Backup all data in the form of a (compressed) csv file