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

Some containers/docker/TestJFREvents.java configs are running out of memory

    XMLWordPrintable

Details

    • b14

    Backports

      Description

        $ CONF=linux-x86_64-server-fastdebug make run-test TEST=containers/docker/TestJFREvents.java

        STDERR:
         stdout: [];
         stderr: [WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
        ]
         exitValue = 137

        java.lang.RuntimeException: Expected to get exit value of [0]

        at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
        at TestJFREvents.testContainerInfo(TestJFREvents.java:110)
        at TestJFREvents.containerInfoTestCase(TestJFREvents.java:89)
        at TestJFREvents.main(TestJFREvents.java:74)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
        at java.base/java.lang.Thread.run(Thread.java:833)

        exitValue = 137 suggests the container was killed by OOM killer. The failing configuration is with 64m, it is apparently too low.

        Attachments

          Issue Links

            Activity

              People

                shade Aleksey Shipilev
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: