gpt4 book ai didi

maven - SonarQube 分析警告日志刷新操作(不结束)

转载 作者:行者123 更新时间:2023-12-01 15:00:09 27 4
gpt4 key购买 nike

运行 SonarQube Server 4.5.6,使用 Maven 3.0.5、Maven 3.3.9 测试,

使用这样的命令行:

mvn -B org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar

还测试了插件的不同版本(3.1.1 等)。

我已经测试过将内存选项从 2 G 提升到 22 G
-Xmx6g -XX:-UseGCOverheadLimit

这没有帮助。始终扫描不会继续并获得此输出:
00:23:08.815 15:36:06.724 WARN  - [JOURNAL_FLUSHER] WARNING Journal flush operation took 14.164ms last 8 cycles average is 1.770ms
00:23:55.507 15:37:10.917 WARN - [JOURNAL_FLUSHER] WARNING Journal flush operation took 3.696ms last 8 cycles average is 2.232ms
00:25:03.219 15:38:16.429 WARN - [JOURNAL_FLUSHER] WARNING Journal flush operation took 3.493ms last 8 cycles average is 898ms
00:29:09.760 15:42:01.239 WARN - [JOURNAL_FLUSHER] WARNING Journal flush operation took 3.513ms last 8 cycles average is 439ms
00:31:01.208 15:44:17.868 WARN - [JOURNAL_FLUSHER] WARNING Journal flush operation took 3.611ms last 8 cycles average is 451ms
00:34:22.694 15:47:30.643 WARN - [JOURNAL_FLUSHER] WARNING Journal flush operation took 22.496ms last 8 cycles average is 2.812ms

我们在单个多模块构建(Java/Tycho)中有大量模块(约 600 个)...

更新:所以结果一直失败。扫描真的会占用如此多的内存,逐个模块完成吗?

最佳答案

所以经过更多的调查和研究,我发现了以下相关问题:

  • https://jira.sonarsource.com/browse/SONAR-5995
  • https://jira.sonarsource.com/browse/SONAR-5878
  • https://jira.sonarsource.com/browse/SONAR-5551

  • 这意味着换句话说,我必须将 SonarQube 版本更新到较新的版本。

    关于maven - SonarQube 分析警告日志刷新操作(不结束),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40264166/

    27 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com