Sonar - OutOfMemoryError: Java heap space

后端 未结 8 2521
情话喂你
情话喂你 2021-02-07 02:07

I am deploying a large Java project on Sonar using \"Findbugs\" as profile and getting the error below:

Caused by: java.util.concurrent.ExecutionException: java.         


        
8条回答
  •  眼角桃花
    2021-02-07 02:45

    I had the same problem when running sonar with maven. In my case it helped to call sonar separately:

    mvn clean install && mvn sonar:sonar

    instead of

    mvn clean install sonar:sonar

    http://docs.sonarqube.org/display/SONAR/Analyzing+with+Maven

    Remark: Because my solution is connected to maven, this is not the direct answer for the question. But it might help other users who stumple upon it.

提交回复
热议问题