Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-5522

Rule for memory settings when running in a container

    Details

      Description

      If running in a container, HotSpot currently doesn't take into account that all the machine memory in the machine might not be assigned to the container. See JDK-8170888

      We should make a rule that somehow detects that the JVM was running in a container (IFF we can), and check if any flags are set to control the memory consumption, like -XX:+UseCGroupMemoryLimitForHeap, or if either -Xmx or -XX:MaxRAM has been set.

      Notice that detecting that the JVM is in a container might be tricky.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                klward Klara Ward
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: