Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-2587

Provide option to fork Sonar analysis

    Details

    • Type: Improvement
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2-rc-1
    • Gradle Forums topic Reference:

      Description

      Sonar analysis has been the only thin so far that has required me to increase the heap or perm gen space for the Gradle build. It would be nice to have the option of forking the process, to avoid that issue.

        Activity

        Hide
        forums Gradle Forums added a comment -

        Definitely have to agree here. With any sizable codebase, especially ones including several third part dependencies, it doesn't take long for PermGen errors to occur when running the sonarAnalyze task with the default JVM settings.

        If it could be forked with it's own JVM settings (much like for unit tests), then the adjusted PermGen setting would be localized just to the needs of sonarAnalyze and not take effect every time gradle/gradlew is invoked for other tasks.

        -Spencer

        Show
        forums Gradle Forums added a comment - Definitely have to agree here. With any sizable codebase, especially ones including several third part dependencies, it doesn't take long for PermGen errors to occur when running the sonarAnalyze task with the default JVM settings. If it could be forked with it's own JVM settings (much like for unit tests), then the adjusted PermGen setting would be localized just to the needs of sonarAnalyze and not take effect every time gradle/gradlew is invoked for other tasks. -Spencer

          People

          • Assignee:
            ldaley Luke Daley
            Reporter:
            forums Gradle Forums
          • Votes:
            7 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development