diff --git a/lib/Controller/AttachmentsController.php b/lib/Controller/AttachmentsController.php index ffb8160a..324a09cf 100644 --- a/lib/Controller/AttachmentsController.php +++ b/lib/Controller/AttachmentsController.php @@ -2,6 +2,8 @@ namespace OCA\OpenCatalogi\Controller; +ini_set('memory_limit', '2048M'); + use Exception; use GuzzleHttp\Exception\GuzzleException; use OCA\OpenCatalogi\Db\AttachmentMapper; diff --git a/lib/Service/FileService.php b/lib/Service/FileService.php index 70ec13e2..a35bcd11 100644 --- a/lib/Service/FileService.php +++ b/lib/Service/FileService.php @@ -1,6 +1,7 @@