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

java/math/BigInteger/largeMemory/SymmetricRangeTests.java fails due to "OutOfMemoryError: Requested array size exceeds VM limit"

    XMLWordPrintable

Details

    • b19

    Backports

      Description

        The following test failed in the JDK14 CI:

        java/math/BigInteger/largeMemory/SymmetricRangeTests.java

        Here's a snippet from one of the log files:

        #section:main
        ----------messages:(4/199)----------
        command: main -Xmx8g SymmetricRangeTests
        reason: User specified action: run main/timeout=180/othervm -Xmx8g SymmetricRangeTests
        Mode: othervm [/othervm specified]
        elapsed time (seconds): 67.495
        ----------configuration:(0/0)----------
        ----------System.out:(1/45)----------
        Testing overflow in BigInteger.makePositive
        ----------System.err:(14/960)----------
        java.lang.OutOfMemoryError: Requested array size exceeds VM limit
        at SymmetricRangeTests.testOverflowInMakePositive(SymmetricRangeTests.java:88)
        at SymmetricRangeTests.main(SymmetricRangeTests.java:624)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:830)

        JavaTest Message: Test threw exception: java.lang.OutOfMemoryError: Requested array size exceeds VM limit
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.OutOfMemoryError: Requested array size exceeds VM limit
        ----------rerun:(50/5411)*----------

        Attachments

          Issue Links

            Activity

              People

                fguallini Fernando Guallini (Inactive)
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: