Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-12279

Adjust order of Elasticsearch JVM Heap Size Options

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0
    • Component/s: ElasticSearch
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      In $SONARQUBE_HOME/conf/sonar.properties...

      #sonar.web.javaOpts=-Xmx1G -Xms128m -XX:+HeapDumpOnOutOfMemoryError
      ...
      #sonar.ce.javaOpts=-Xmx2G -Xms128m -XX:+HeapDumpOnOutOfMemoryError
      ...
      #sonar.search.javaOpts=-Xms2G -Xmx2G -XX:+HeapDumpOnOutOfMemoryError
      

      For some reason, Xmx and Xms are switched for sonar.search.javaOpts. This could be confusing when adjusting the heap sizes.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              colin.mueller Colin
              Reporter:
              colin.mueller Colin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: