Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-67303

JIRA server always requires Xmx and Xms options

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • None
    • None
    • 1
    • 1
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      I am using JIRA Software Server in a Docker container. Java 8u131 or later supports the option to use container memory limits as Java heap size (see Oracle's article). I removed -Xmx -Xms, added the following options and started a container, but JIRA server showed the following error.

      Options:

      -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
      

      Error:

      Setup: Your memory allocation pool settings need attention

      JIRA runs in a Java virtual machine (JVM), and this JVM is allocated an amount of memory to enable JIRA to run. These amounts can be manually configured.

      • The maximum memory allocation pool (-Xmx) is required to be at least 786m.

      Is there any plan to support UseCGroupMemoryLimitForHeap option?

      In addtion, Java 10 or later does not require the option and automatically detect container memory limits (see JDK bug database).

      Attachments

        Activity

          People

            Unassigned Unassigned
            8970f6b3a219 Hidetake Iwata
            Votes:
            9 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: