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

WhiteBoxResizeTest failure on linux-x86: Could not reserve enough space for 2097152KB object heap

XMLWordPrintable

        In an unrelated PR against JDK mainline repo, the GitHub actions job on linux-x86 platform reported a test failure in test/jdk/java/util/HashMap/WhiteBoxResizeTest.java:

        #section:testng
        ----------messages:(7/363)----------
        command: testng -Xmx2g WhiteBoxResizeTest
        reason: User specified action: run testng/othervm -Xmx2g WhiteBoxResizeTest
        started: Mon Mar 11 18:15:35 UTC 2024
        Mode: othervm [/othervm specified]
        Additional options from @modules: --add-modules java.base --add-opens java.base/java.util=ALL-UNNAMED
        finished: Mon Mar 11 18:15:36 UTC 2024
        elapsed time (seconds): 0.014
        ----------configuration:(4/95)----------
        Boot Layer
          add modules: java.base
          add opens: java.base/java.util ALL-UNNAMED

        ----------System.out:(2/100)----------
        Error occurred during initialization of VM
        Could not reserve enough space for 2097152KB object heap

        The complete log from the failure is attached.

              jpai Jaikiran Pai
              jpai Jaikiran Pai
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: