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.lang.OutOfMemoryError:
Java heap space

What i have tried to resolve this:

  1. Replaced %SONAR_RUNNER_OPTS% with -Xms256m -Xmx1024m to increase the heap size in sonar-runner bat file.
  2. Put "sonar.findbugs.effort" parameter as "Min" in Sonar global parameters.

But both of above methods didn't work for me.

Edit
Report