我正在用声纳分析一个相当大的项目。前几次运行正常,但现在出现错误。与时间机器和违规分析器有关:
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)
我使用 ANT 执行声纳。我可以以某种方式增加java堆大小吗?