Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8227599

[TESTBUG] docker/TestMemoryAwareness.java fails due to OOM

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux

      Description

      The following test fails in the JDK14 CI:

      containers/docker/TestMemoryAwareness.java

      Here's a snippet of the log file:

      ----------System.err:(54/3613)----------
       stdout: [[0.001s][trace][os,container] OSContainer::init: Initializing Container Support
      [0.001s][trace][os,container] Path to /memory.use_hierarchy is /sys/fs/cgroup/memory/memory.use_hierarchy
      [0.001s][trace][os,container] Use Hierarchy is: 1
      [0.001s][trace][os,container] Path to /memory.limit_in_bytes is /sys/fs/cgroup/memory/memory.limit_in_bytes
      [0.001s][trace][os,container] Memory Limit is: 9223372036854771712
      [0.001s][trace][os,container] Non-Hierarchical Memory Limit is: Unlimited
      [0.001s][trace][os,container] Path to /memory.stat is /sys/fs/cgroup/memory/memory.stat
      [0.001s][trace][os,container] Hierarchical Memory Limit is: 9223372036854771712
      [0.001s][trace][os,container] Hierarchical Memory Limit is: Unlimited
      [0.001s][trace][os,container] Path to /cpu.cfs_quota_us is /sys/fs/cgroup/cpu,cpuacct/cpu.cfs_quota_us
      [0.001s][trace][os,container] CPU Quota is: -1
      [0.001s][trace][os,container] Path to /cpu.cfs_period_us is /sys/fs/cgroup/cpu,cpuacct/cpu.cfs_period_us
      [0.001s][trace][os,container] CPU Period is: 100000
      [0.001s][trace][os,container] Path to /cpu.shares is /sys/fs/cgroup/cpu,cpuacct/cpu.shares
      [0.001s][trace][os,container] CPU Shares is: 1024
      [0.001s][trace][os,container] OSContainer::active_processor_count: 8
      [0.001s][trace][os,container] Path to /memory.limit_in_bytes is /sys/fs/cgroup/memory/memory.limit_in_bytes
      [0.001s][trace][os,container] Memory Limit is: 9223372036854771712
      [0.001s][trace][os,container] Non-Hierarchical Memory Limit is: Unlimited
      [0.002s][trace][os,container] Path to /memory.stat is /sys/fs/cgroup/memory/memory.stat
      [0.002s][trace][os,container] Hierarchical Memory Limit is: 9223372036854771712
      [0.002s][trace][os,container] Hierarchical Memory Limit is: Unlimited
      [0.002s][debug][os,container] container memory limit unlimited: -1, using host value
      [0.003s][trace][os,container] Path to /cpu.cfs_quota_us is /sys/fs/cgroup/cpu,cpuacct/cpu.cfs_quota_us
      [0.003s][trace][os,container] CPU Quota is: -1
      [0.003s][trace][os,container] Path to /cpu.cfs_period_us is /sys/fs/cgroup/cpu,cpuacct/cpu.cfs_period_us
      [0.003s][trace][os,container] CPU Period is: 100000
      [0.003s][trace][os,container] Path to /cpu.shares is /sys/fs/cgroup/cpu,cpuacct/cpu.shares
      [0.003s][trace][os,container] CPU Shares is: 1024
      [0.003s][trace][os,container] OSContainer::active_processor_count: 8
      [0.488s][error][gc ] Failed to commit memory (Not enough space)
      [0.967s][error][gc ] Failed to allocate initial Java heap (950M)
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mseledtsov Mikhailo Seledtsov
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: