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

Four JCK-devtools-6a tests report OOM: Java Heap space since JDK7 b14

XMLWordPrintable

    • b09
    • Verified

      Two tests:

      xml_schema/msData/particles/jaxp/particlesIe003.html#particlesIe003.v
      xml_schema/msData/particles/jaxp/particlesR005.html#particlesR005.v

      still fail with OOM in 6u10 b07:
      command: com.sun.jck.lib.ExecJCKTestOtherJVMCmd LD_LIBRARY_PATH=/set/stt/jck_promotions/6a/fcs/alt2/binaries/JCK-runtime-6a/lib/Linux.i386:/set/stt/jck_promotions/6a/fcs/alt2/binaries/JCK-runtime-6a/lib/Linux.i386/jmx:/set/stt/jck_promotions/6a/fcs/alt2/binaries/JCK-runtime-6a/lib/Linux.i386 DISPLAY=judo:0 HOME=/home/stt-robot /usr/java/jre1.6.0_10/bin/java -client -Xcomp -Djava.ext.dirs=/set/stt/jck_promotions/6a/fcs/alt2/binaries/JCK-runtime-6a/lib/extensions:/usr/java/jre1.6.0_10/lib/ext:/usr/java/jre1.6.0_10/jre/lib/ext -Xfuture -classpath /set/stt/jck_promotions/6a/fcs/alt2/binaries/JCK-runtime-6a/classes:/usr/java/jre1.6.0_10/lib/tools.jar -Djava.security.policy=/set/stt/jck_promotions/6a/fcs/alt2/binaries/JCK-runtime-6a/lib/jck.policy javasoft.sqe.tests.api.xml.schema.TestRun -t file:///set/stt/jck_promotions/6a/fcs/alt2/binaries/JCK-runtime-6a/tests/xml_schema/msData/particles/jaxp/particlesIe003.html#particlesIe003.v -s ../particlesIe003.xsd ../particlesIe003.xml
      ----------out1:(33/3013)----------
      Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMNodeFactory.getCMUniOpNode(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.copyNode(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.multiNodes(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.expandContentModel(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.buildSyntaxTree(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.buildSyntaxTree(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.createDFACM(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.xs.models.CMBuilder.getContentModel(Unknown Source)
      ----------out2:(0/0)----------
      result: Failed. unexpected exit code: exit code 1


      These tests were excluded from JCK upon condition the error message was fixed (i.e. test reports "current configuration allows 5000 maxOccurs etc..."). So the same fix should be integrated to 6u10
      As it was requested by JCK team, I explain why I submitted this CR. During investigation of this issue in 6u4 we came to agreement that these tests should be excluded, but java shouldn't report OOM but valid error message. JDK 6u4 was fixed and reports misconfiguration error on these tests. Unfortunately corresponding fix, it seems, was not integrated in 6u10. So I submitted this CR to track this issue.

            joehw Joe Wang
            pastepan Pavel Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: