Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2901

Unable to run many tests in single tdml suite without large amounts of memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.7.0
    • None
    • TDML Runner
    • None

    Description

      The test suite I'm working with contains 600+ tests, and run just fine in IntelliJ (which has a heap size of 4G), but fails to run with `sbt test` failing with an out of memory error. This error doesn't go away until we increase the sbt heap size to 8G. Then the tests run successfully.

      Obvious workaround is just to do `sbt -mem 8192 test`, but it would be ideal if this wasn't necessary, especially since the tests are run sequentially and not in parallel. A memory leak in the runner seems like a likely suspect.

      We would obviously need to profile an `sbt test` run using either JProfiler or Intellij's built in profiler. Example schemas with lots of tests are the JREAP schema and the P8 schema.

      According to jadams_tresys , this issue doesn't occur if the tests are split out into multiple test suites

      Attachments

        Activity

          People

            slawrence Steve Lawrence
            okilo@tresys.com Olabusayo Kilo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: