Hi,
I am in the process of migrating our SonarQube 6.7 to LTS 7.9.5 version Enterprise, and the first analysis of my java project took almost 7 hours, while in version 6.7 it took 40 min max.
The analysis is made by the “cli scanner” (4.5.0.2216 version), with a jdk 11 and 5Go of memory (-XMX) in a docker under linux.
I see from the logs, and I had read it in the forum, that it is the addition of the analysis of new security rules that increases this analysis time so greatly. (https://community.sonarsource.com/t/suddenly-analysis-takes-a-long-time-to-finish/350/6)
My java project being quite large, I would like to know if there are any tips to speed up the analysis apart from disabling these rules?
I am attaching an extract from the logs so that you have the metrics of my project:
log analyze.txt (5.3 KB)
Thank You.