Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6731

Docker container JVM heap not applying

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.2
    • Fix Version/s: 1.10.0
    • Component/s: Docker
    • Labels:
      None

      Description

      The environment variables:
      NIFI_JVM_HEAP_INIT
      NIFI_JVM_HEAP_MAX
      do not get set properly once the container is running.
       
      For example, when setting these variables in the docker run command:
      docker run -d -p 8080:8080 -e NIFI_JVM_HEAP_INIT=2g -e NIFI_JVM_HEAP_MAX=2g apache/nifi:1.9.2
      then checking http://localhost:8080/nifi-api/system-diagnostics shows that totalHeap and maxHeap are set to the default 512mb. Also exec-ing into the container and looking at the bootstrap.conf shows that java.arg.2 and java.arg.3 did not get updated.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cavemandaveman cavemandaveman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: