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

sun/tools/jmap/BasicJMapTest.java fails with OOME

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • tbd
    • 15
    • core-svc

      Test sun/tools/jmap/BasicJMapTest.java failed with OOME while parsing heap
      java.lang.OutOfMemoryError: Java heap space
      at jdk.test.lib.hprof.model.JavaHeapObject.addReferenceFrom(JavaHeapObject.java:142)
      at jdk.test.lib.hprof.model.Snapshot$MyVisitor.visit(Snapshot.java:224)
      at jdk.test.lib.hprof.model.JavaObject.visitReferencedObjects(JavaObject.java:151)
      at jdk.test.lib.hprof.model.Snapshot.calculateReferencesToObjects(Snapshot.java:323)
      at jdk.test.lib.hprof.model.Snapshot.resolve(Snapshot.java:291)
      at jdk.test.lib.hprof.HprofParser.parse(HprofParser.java:87)
      at jdk.test.lib.hprof.HprofParser.parse(HprofParser.java:54)
      at BasicJMapTest.verifyDumpFile(BasicJMapTest.java:174)
      at BasicJMapTest.dump(BasicJMapTest.java:167)
      at BasicJMapTest.testDumpAll(BasicJMapTest.java:141)
      at BasicJMapTest.main(BasicJMapTest.java:62)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      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

            Unassigned Unassigned
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: