This answer says to use sonar.skipPackageDesign=true
and sonar.skipDesign=true
.
But even after using it I'm still getting the Getting GC overhead limit exceeded error.
I'm running SonarQube using maven locally. The command I'm using is
>set sonar.web.javaOpts=-Xmx1024m -Xms512m -XX:+HeapDumpOnOutOfMemoryError
>mvn sonar:sonar -Dsonar.projectKey=com.org.project.java -Dsonar.host.url=https://sonarqube.it.org.net -Dsonar.login=token -Dsonar.skipPackageDesign=true -Dsonar.skipDesign=true
I'm getting the following error
[ERROR] GC overhead limit exceeded -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError