1

Recently after upgrading to CodeNarc version 0.23 and Gradle to version 2.4 we've noticed that there is huge impact on a build time.

Since the versions upgrade CodeNarc task started to fail quite often with java.lang.OutOfMemoryError: PermGen space as well.

I may add that the build is executed on fairly small codebase. Less than 20 source files, average up to 50 lines.

With CodeNarc 0.21 and Gradle 2.2.x it was less of an issue.

How the performance may be optimized and what's the proper way of setting bigger max PermGen space for CodeNarc? Is $GRADLE_OPTS propagated into forked CodeNarc process? Results of may experiments were rather indeterministic, unfortunately.

topr
  • 4,482
  • 3
  • 28
  • 35

0 Answers0