How to increase Sonar java heap size?
问题 I am analyzing quite a large project with Sonar. The first few runs went OK but now I get error. Something to do with timemachine and violation analyzer: java.lang.OutOfMemoryError: GC overhead limit exceeded at org.sonar.plugins.core.timemachine.ViolationTrackingDecorator.mapViolations(ViolationTrackingDecorator.java:131) at org.sonar.plugins.core.timemachine.ViolationTrackingDecorator.decorate(ViolationTrackingDecorator.java:70) I execute Sonar using ANT. Can I increase the java heap size