Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-10621

OutOfMemoryError during JUnitReport ant task after running testsuite on Windows reagrdless of Xmx setting in ANT_OPTS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • EAP_EWP 5.3.0.ER1
    • EAP_EWP 5.2.0
    • Testsuite
    • None
    • Windows

    • Low
    • Not Required
    • NEW

    Description

      jboass-as/testsuite/build.bat ignore ANT_OPTS variable and fails running testsuite after tests during JUnitReport ant task because of low heap.
      The problem is in jboass-as/testsuite/build.bat on line nubber 28:
      There is
      set ANT_OPTS=-Xmx256m -Djava.protocol.handler.pkgs=org.jboss.net.protocol -Dbuild.script=build.bat
      but there should be
      set ANT_OPTS=%ANT_OPTS% -Xmx2024m -Djava.protocol.handler.pkgs=org.jboss.net.protocol -Dbuild.script=build.bat
      in the same way as in the jboass-as/testsuite/build.sh

      Attachments

        Activity

          People

            pjelinek@redhat.com Pavel Jelinek
            pjelinek@redhat.com Pavel Jelinek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: