When trying to run the SonarQube “Run Code Analysis” via Azure DevOps Server 2019.0.1, we are presented with the error of GC overhead limit exceeded.
I have done some googling and made the recommended changes to sonar.properties, these are the values I have set:
sonar.ce.javaOpts=-server -Xmx8192m -Xms512m -XX:+HeapDumpOnOutOfMemoryError
The Run Analysis still fails with this set, the code its is scanning is over 1 million lines and this is with excluding some file types.
SonarScanner for MSBuild 4.6.2