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

java/nio/channels/Channels/ReadXBytes.java fails with OOM error

    XMLWordPrintable

    Details

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

      Backports

        Description


        test ReadXBytes.readNBytesFromMaxLengthFile(): failure
        java.lang.OutOfMemoryError: Java heap space
        at java.base/java.io.FileInputStream.readNBytes(FileInputStream.java:335)
        at ReadXBytes.lambda$readNBytesFromMaxLengthFile$19(ReadXBytes.java:287)
        at ReadXBytes$$Lambda$111/0x0000000800c3e068.test(Unknown Source)
        at ReadXBytes.dataTest(ReadXBytes.java:151)
        at ReadXBytes.readNBytesFromMaxLengthFile(ReadXBytes.java:282)
        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)

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: