Postprocessing step failing to publish scanner results


(Nikitha Appana) #1

I am using the latest version of Sonarqube 7.3 server.

I integrated sonarqube {sonar-scanner-msbuild.} with TC and running the scan with MSbuild step inbetween the begin and end steps. Below is the fail log.

Using Sonar with TC, I am not sure where the logs are getting stored for Sonar Build step to debug further. Please advice.

Error: Could not create the Java Virtual Machine.*
Error: A fatal exception has occurred. Program will exit.*
Invalid maximum heap size: -Xmx14336m*
The specified size exceeds the maximum representable size.*
The SonarQube Scanner did not complete successfully*
Creating a summary markdown fileā€¦*
Post-processing failed. Exit code: 1*
Process exited with code 1*
Process exited with code 1*
Step End Sonar Analysis (Command Line) failed*

The weird part of the error is my Xmx is set at 10000m on the sonar properties but the value is read as 14336m, I am not sure where it is taking this value from?

Unable to create Java Virtual Machine Error while running analysis