diff --git a/GaelO2/app/GaelO/UseCases/ExportStudyData/ExportStudyData.php b/GaelO2/app/GaelO/UseCases/ExportStudyData/ExportStudyData.php index 5d1bedf5..23814e86 100644 --- a/GaelO2/app/GaelO/UseCases/ExportStudyData/ExportStudyData.php +++ b/GaelO2/app/GaelO/UseCases/ExportStudyData/ExportStudyData.php @@ -26,6 +26,9 @@ public function execute(ExportStudyDataRequest $exportStudyDataRequest, ExportSt try { + #increase memory limit as php zip stores metadata file in memory until final generation of zip + ini_set("memory_limit", "512") + $studyName = $exportStudyDataRequest->studyName; $this->checkAuthorization($exportStudyDataRequest->currentUserId, $studyName);