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

StringBufferInputStream/OverflowInRead.java failed due to "OutOfMemoryError: Java heap space"

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      sparc_64
    • OS:
      solaris

      Description

      The following test failed in the JDK15 CI:

      java/io/StringBufferInputStream/OverflowInRead.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/171)----------
      command: main -Xmx4g OverflowInRead
      reason: User specified action: run main/othervm -Xmx4g OverflowInRead
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 1.25
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(13/789)----------
      java.lang.OutOfMemoryError: Java heap space
      at OverflowInRead.main(OverflowInRead.java:43)
      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:832)

      JavaTest Message: Test threw exception: java.lang.OutOfMemoryError: Java heap space
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.OutOfMemoryError: Java heap space
      ----------rerun:(38/4080)*----------

      It seems really odd for this test to failed with an OutOfMemoryError
      when it is run with this option: -Xmx4g

        Attachments

          Activity

            People

            • Assignee:
              bpb Brian Burkhalter
              Reporter:
              dcubed Daniel Daugherty
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: