From 6ba888ea7754b5e85fa7ee8c1c698f252b3556df Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Wed, 4 Jan 2023 15:12:30 +0800 Subject: [PATCH] * Modify sonarqube memory limit. --- module/sonarqube/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/sonarqube/control.php b/module/sonarqube/control.php index ad1a3eb851..2c76b79622 100644 --- a/module/sonarqube/control.php +++ b/module/sonarqube/control.php @@ -360,7 +360,7 @@ class sonarqube extends control if($search == true) $keyword = $this->session->sonarqubeIssueKeyword; } - ini_set('memory_limit', '256M'); + ini_set('memory_limit', '1024M'); $cacheFile = $this->sonarqube->getCacheFile($sonarqubeID, $projectKey); if(!$cacheFile or !file_exists($cacheFile) or (time() - filemtime($cacheFile)) / 60 > $this->config->sonarqube->cacheTime)