From 5a3ed254d4f7ccef8c18c0f0d8cb7a9f59e8d556 Mon Sep 17 00:00:00 2001 From: Wenrui LI Date: Fri, 15 Jul 2022 16:02:13 +0800 Subject: [PATCH] * tune memory limit, client zips sometimes take more than 512M. needs refactor later. --- xuanxuan/extension/xuan/misc/ext/control/downloadclient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xuanxuan/extension/xuan/misc/ext/control/downloadclient.php b/xuanxuan/extension/xuan/misc/ext/control/downloadclient.php index 370e01f042..e74d94ff3e 100644 --- a/xuanxuan/extension/xuan/misc/ext/control/downloadclient.php +++ b/xuanxuan/extension/xuan/misc/ext/control/downloadclient.php @@ -102,7 +102,7 @@ class myMisc extends misc if($action == 'downloadPackage') { - ini_set('memory_limit', '512M'); + ini_set('memory_limit', '1G'); $account = $this->app->user->account; $clientDir = $this->app->wwwRoot . 'data/client/' . "$account/";