Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
- what are you trying to achieve
- what have you tried so far to achieve this
Hi All
I’m using SonarQube version 6.7.6 and following Plugins:
Android - 1.1
Checkstyle - 2.4
Dependency-Check - 1.1.1
Findbugs - 3.3
Git - 1.8 (build 1574)
GitHub - 1.4.2 (build 1027)
PMD - 2.5
SonarCSS - 1.0.3 (build 724)
SonarHTML - 3.1 (build 1615)
SonarJS - 5.1.1 (build 7506)
SonarJava- 5.8 (build 15699)
SonarPHP - 3.0.0.4537
SonarTS - 1.9 (build 3766)
SonarXML - 2.0.1 (build 2020)
Normally the analysis runs for seconds. But I got one, which seems to never end. I started with following JVM configuration:
SONARQUBE_WEB_JVM_OPTS = -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m -Xms1024m -Xmx2024m
SONARQUBE_CE_JVM_OPTS = -Xmx1024m -Xms512m -XX:+HeapDumpOnOutOfMemoryError
Now I got following:
SONARQUBE_WEB_JVM_OPTS = -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m -Xms1024m -Xmx2024m
SONARQUBE_CE_JVM_OPTS = -Xmx3072m -Xms512m -XX:+HeapDumpOnOutOfMemoryError
But the analysis takes still very long time. About 266 min. The project has Lines of Code 1,277,925. The main part are XML (1,277,900)
Is there a possibility to speed it up or is it like this because of the huge amount of code lines?
Thank you very much in advance for your replay.
Regards Raphael