Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-3343

[Java] Java tests fail non-deterministically with memory leak from Flight tests

    XMLWordPrintableJSON

Details

    Description

      see eg https://travis-ci.org/apache/arrow/jobs/434044723

      Starting server.
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.129 s <<< FAILURE! - in org.apache.arrow.flight.example.TestExampleServer
      [ERROR] putStream(org.apache.arrow.flight.example.TestExampleServer)  Time elapsed: 0.129 s  <<< ERROR!
      java.lang.IllegalStateException: 
      Memory was leaked by query. Memory leaked: (66)
      Allocator(flight-server) 0/66/134/9223372036854775807 (res/actual/peak/limit)
      	at org.apache.arrow.flight.example.TestExampleServer.after(TestExampleServer.java:66)
      

      This seems to fail both in JDK8 and JDK9 but not consistently

      Attachments

        Issue Links

          Activity

            People

              jnadeau Jacques Nadeau
              wesm Wes McKinney
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m