XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 2.6
    • None
    • None
    • None
    • Maven 2.2.1, 3.0RC1

    Description

      We have a module containing over 500 unit tests, most of which create Hibernate sessions with a largish data model.

      Surefire 2.6 fails to complete these tests, even with:
      <jvmArg>-Xmx512m</jvmArg>
      specified.

      Surefire 2.5 (and earlier) completes these tests with no trouble at all, without jvmArg settings.

      I performed a heapdump (which is too big to upload here) and it shows that org.apache.maven.surefire.util.TeeStream seems to be hanging on to data in memory. The 20 biggest objects by retained size were all instances of this. I've attached a screen dump

      Attachments

        1. surefire dump.png
          226 kB
          Stephen Coy

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sfcoy Stephen Coy
              Votes:
              6 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: