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

LargeCopyWithMark.java failed due to OutOfMemoryError

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following test failed due to OutOfMemoryError in the JDK15 CI:

      java/io/BufferedInputStream/LargeCopyWithMark.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/163)----------
      command: main LargeCopyWithMark
      reason: User specified action: run main/othervm LargeCopyWithMark
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 2.31
      ----------configuration:(0/0)----------
      ----------System.out:(1/1188)----------
      Command line: [/mesos/work_dir/jib-master/install/jdk-15+11-329/macosx-x64.jdk/jdk-15.jdk/Contents/Home/bin/java -cp /mesos/work_dir/slaves/90726e33-be99-4e27-9d68-25dad266ef13-S550/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/e53678c2-4411-422a-8908-8ecb323c6414/runs/d24b5a50-b19d-4d6c-936f-29b1b9d9c89b/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/6/java/io/BufferedInputStream/LargeCopyWithMark.d:/mesos/work_dir/jib-master/install/jdk-15+11-329/src.full/open/test/jdk/java/io/BufferedInputStream:/mesos/work_dir/slaves/90726e33-be99-4e27-9d68-25dad266ef13-S550/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/e53678c2-4411-422a-8908-8ecb323c6414/runs/d24b5a50-b19d-4d6c-936f-29b1b9d9c89b/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/6/test/lib:/mesos/work_dir/jib-master/install/jdk-15+11-329/src.full/open/test/lib:/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b16/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b16/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar -Xmx4G -ea:LargeCopyWithMark$Child LargeCopyWithMark$Child ]
      ----------System.err:(18/1185)----------
      Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
      at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:230)
      at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
      at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:343)
      at LargeCopyWithMark$Child.main(LargeCopyWithMark.java:75)
      java.lang.AssertionError: Test failed: exit code = 1
      at LargeCopyWithMark.main(LargeCopyWithMark.java:51)
      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.AssertionError: Test failed: exit code = 1
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.AssertionError: Test failed: exit code = 1
      ----------rerun:(33/5419)*----------

      The test machine used for this run has 64GB of RAM.
      Starting this as a P3 since this is a Tier2 test.

        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: