From f64edab52483034571128ed287ce10996498f0dc Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Tue, 18 Dec 2018 19:21:30 +0000 Subject: [PATCH] Added a TODO comment about RAM issue. --- WEB-INF/lib/ttGroupExportHelper.class.php | 4 ++++ WEB-INF/templates/footer.tpl | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/WEB-INF/lib/ttGroupExportHelper.class.php b/WEB-INF/lib/ttGroupExportHelper.class.php index d2ee6413..c5600fd8 100644 --- a/WEB-INF/lib/ttGroupExportHelper.class.php +++ b/WEB-INF/lib/ttGroupExportHelper.class.php @@ -335,6 +335,10 @@ class ttGroupExportHelper { } // Write time log entries and build logMap at the same time. + // TODO: big data sets get us out of memory error. + // We need to optimize this by working on smaller result sets at a time. + // tt_log is one potentially large table, but so may be others. + // Refactor this during next round of work here. $records = $this->getRecordsFromTable('tt_log'); if (count($records) > 0) { fwrite($this->file, $this->indentation." \n"); diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 86ae44cb..38267b68 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.32.4661 | Copyright © Anuko | +  Anuko Time Tracker 1.18.32.4662 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1