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

Rule for memory settings when running in a container

XMLWordPrintable

      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.

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

              Created:
              Updated: