Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3041

NetBeans gradle invoker not honouring org.gradle.jvmargs

Rank to TopRank to BottomVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      cat .gradle/gradle.properties
      org.gradle.jvmargs=-Xmx8192m -XX:+PreserveFramePointer

      This property is not honoured by NetBeans when it starts a Gradle daemon, so I end up with a Gradle daemon using the "default" amount of RAM, which on some machines is too little, and on some is too much (it's 25% of system RAM).

      I'm guessing this is because it's loaded by the wrapper, not the daemon, because other properties like org.gradle.daemon.idletimeout=360000 are honoured by NB's gradle daemon.

      The other effect of not loading that property is that I get multiple gradle dameons running, each consuming 16Gb of RAM, because they're "incompatible", so fixing this will save me about 16Gb of RAM per system.

      I'm a bit shaky on this bug report, but ... I think this is what's going on.

      (footnote: oh dear, Shevek broke something again, what on earth is that idiot doing with NetBeans and why can't Shevek just behave like a "normal" developer )

        Attachments

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              lkishalmi Laszlo Kishalmi
              Reporter:
              arren Shevek

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 4h 20m
                4h 20m

                  Issue deployment