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

java/nio/channels/Channels/TransferTo.java failed with OOM java heap space error

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b23
    • CPU:
      x86_64
    • OS:
      linux

      Description

      test failed with OOM error

      ----------System.err:(20/1233)----------
      java.lang.OutOfMemoryError: Java heap space
      at java.base/java.util.Arrays.copyOf(Arrays.java:3537)
      at java.base/java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:100)
      at java.base/java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:130)
      at java.base/java.io.InputStream.transferTo(InputStream.java:783)
      at java.base/sun.nio.ch.ChannelInputStream.transferTo(ChannelInputStream.java:246)
      at TransferTo.checkTransferredContents(TransferTo.java:124)
      at TransferTo.testStreamContents(TransferTo.java:100)
      at TransferTo.test(TransferTo.java:70)
      at TransferTo.main(TransferTo.java:64)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:51)
      at java.base/java.lang.reflect.Method.invoke(Method.java:569)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:833)

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

      ----------System.out:(1/47)----------
      Seed from RandomFactory = 6215617730284918972L
      result: Failed. Execution failed: `main' threw exception: java.lang.OutOfMemoryError: Java heap space


      test result: Failed. Execution failed: `main' threw exception: java.lang.OutOfMemoryError: Java heap space

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bpb Brian Burkhalter
              Reporter:
              msheppar Mark Sheppard
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: