Skip to content

[Java] Flight reports memory leaks in TestBasicOperation #19766

@asfimport

Description

@asfimport

While running the release verification scripts on Ubuntu 16.04, I get the following error in one of the flight tests:

[INFO] Running org.apache.arrow.flight.TestBasicOperation
63 6F 6F 6C 20 74 68 69 6E 67
get
put
hello
world
63 6F 6F 6C 20 74 68 69 6E 67
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.131 s - in org.apache.arrow.flight.TestBasicOperation
[INFO] Running org.apache.arrow.flight.example.TestExampleServer
Starting server.
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.234 s <<< FAILURE! - in org.apache.arrow.flight.example.TestExampleServer
[ERROR] putStream(org.apache.arrow.flight.example.TestExampleServer)  Time elapsed: 0.222 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)

[INFO] Running org.apache.arrow.flight.perf.TestPerf
Transferred 100000000 records totaling 3200000000 bytes at 87,592919 mb/s. 2870244,784388 record/s. 700,971181 batch/s.
Transferred 100000000 records totaling 3200000000 bytes at 121,977665 mb/s. 3996964,136267 record/s. 976,138581 batch/s.
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 59.966 s <<< FAILURE! - in org.apache.arrow.flight.perf.TestPerf
[ERROR] throughput(org.apache.arrow.flight.perf.TestPerf)  Time elapsed: 59.964 s  <<< ERROR!
java.lang.IllegalStateException:
Memory was leaked by query. Memory leaked: (133120)
Allocator(perf-server) 0/133120/267264/9223372036854775807 (res/actual/peak/limit)

        at org.apache.arrow.flight.perf.TestPerf.throughput(TestPerf.java:112)

Reporter: Uwe Korn / @xhochy

Note: This issue was originally created as ARROW-3443. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions