Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3044

OutOfMemoryError exceptions in Jenkins when running tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.6.0
    • 3.6.0
    • build-infrastructure, tests
    • None

    Description

      I've spot checked some failing test results and noticed OutOfMemoryError on some of them

      trunk - java 10 - testQuorumSystemChange - build # 65

      trunk - java 10 - testQuorumSystemChange - build # 69

      trunk - java 9 - testWatcherAutoResetDisabledWithGlobal

      trunk - java 10 - testHammer

      Right now the test command is:
      ant -Dtest.junit.maxmem=2g -Dtest.output=no -Dtest.junit.threads=8 -Dtest.junit.output.format=xml -Djavac.target=1.9 clean test-core-java

      Is it possible to decrease the number of threads or increase maxmem?
       

      Attachments

        Activity

          People

            phunt Patrick D. Hunt
            bkanivets Bogdan Kanivets
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: