Sonar - OutOfMemoryError: Java heap space

后端 未结 8 2355
情话喂你
情话喂你 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:43

    this has worked for me:

    SONAR_RUNNER_OPTS="-Xmx3062m -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=128m"
    

    I set it direct in the sonar-runner(.bat) file

提交回复
热议问题